Commit f2e676cc authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Fix syntax errors in YAML config file.

parent 9b6d8dea
Pipeline #133 passed with stages
in 6 minutes and 52 seconds
......@@ -5,14 +5,17 @@ stages:
- package
.compile_template: &compile_template
stage: compile
script:
- dune build @binary
.test_template: &test_template
stage: test
script:
- dune build @runtest
.package_template: &package_template
stage: package
script:
- opam pin -y cduce-types .
- opam pin -y cduce .
......@@ -23,13 +26,13 @@ compile_4.07.1:
test_4.07.1:
image: ocaml-cduce:4.07.1
needs: [ "compile_4.07.1" ]
<<: *test_template
needs:[ "compile_4.07.1" ]
package_4.07.1:
image: ocaml-cduce:4.07.1
needs: [ "test_4.07.1" ]
<<: *package_template
needs:[ "test_4.07.1" ]
compile_4.08.1:
......@@ -38,13 +41,13 @@ compile_4.08.1:
test_4.08.1:
image: ocaml-cduce:4.08.1
needs: [ "compile_4.08.1" ]
<<: *test_template
needs:[ "compile_4.08.1" ]
package_4.08.1:
image: ocaml-cduce:4.08.1
needs: [ "test_4.08.1" ]
<<: *package_template
needs:[ "test_4.08.1" ]
compile_4.09.1:
......@@ -53,13 +56,13 @@ compile_4.09.1:
test_4.09.1:
image: ocaml-cduce:4.09.1
needs: [ "compile_4.09.1" ]
<<: *test_template
needs:[ "compile_4.09.1" ]
package_4.09.1:
image: ocaml-cduce:4.09.1
needs: [ "test_4.09.1" ]
<<: *package_template
needs:[ "test_4.09.1" ]
compile_4.10.2:
......@@ -68,13 +71,13 @@ compile_4.10.2:
test_4.10.2:
image: ocaml-cduce:4.10.2
needs: [ "compile_4.10.2" ]
<<: *test_template
needs:[ "compile_4.10.2" ]
package_4.10.2:
image: ocaml-cduce:4.10.2
needs: [ "test_4.10.2" ]
<<: *package_template
needs:[ "test_4.10.2" ]
compile_4.11.2:
......@@ -83,13 +86,13 @@ compile_4.11.2:
test_4.11.2:
image: ocaml-cduce:4.11.2
needs: [ "compile_4.11.2" ]
<<: *test_template
needs:[ "compile_4.11.2" ]
package_4.11.2:
image: ocaml-cduce:4.11.2
needs: [ "test_4.11.2" ]
<<: *package_template
needs:[ "test_4.11.2" ]
compile_4.12.0:
......@@ -98,12 +101,12 @@ compile_4.12.0:
test_4.12.0:
image: ocaml-cduce:4.12.0
needs: [ "compile_4.12.0" ]
<<: *test_template
needs:[ "compile_4.12.0" ]
package_4.12.0:
image: ocaml-cduce:4.12.0
needs: [ "test_4.12.0" ]
<<: *package_template
needs:[ "test_4.12.0" ]
......@@ -7,14 +7,17 @@ stages:
- package
.compile_template: &compile_template
stage: compile
script:
- dune build @binary
.test_template: &test_template
stage: test
script:
- dune build @runtest
.package_template: &package_template
stage: package
script:
- opam pin -y cduce-types .
- opam pin -y cduce .
......@@ -27,10 +30,10 @@ do
do
echo "${s}_${v}:"
echo " image: ocaml-cduce:${v}"
echo " <<: *${s}_template"
echo -n "$p"
echo " <<: *${s}_template"
echo
p=" needs:[ \"${s}_${v}\" ]
p=" needs: [ \"${s}_${v}\" ]
"
done
echo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment