aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-11-16 18:37:00 +0100
committerEmilio Jesus Gallego Arias2020-03-29 23:55:22 -0400
commitc8a57ee238ae02056e97dc1ef983f415ccf0f829 (patch)
tree8594292601822ff0b91579e0b2fde2333f548cb1 /.gitlab-ci.yml
parent4fa753561b2815f0455c455ac970759c2ac8ef7a (diff)
[ci] [gitlab] Bump to edge to OCaml 4.10, add test-suite for OCaml 4.11
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 25 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 39c801197b..88f2958fad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,7 @@ stages:
variables:
# Format: $IMAGE-V$DATE [Cache is not used as of today but kept here
# for reference]
- CACHEKEY: "bionic_coq-V2020-03-19-V29"
+ CACHEKEY: "bionic_coq-V2020-03-27-V12"
IMAGE: "$CI_REGISTRY_IMAGE:$CACHEKEY"
# By default, jobs run in the base switch; override to select another switch
OPAM_SWITCH: "base"
@@ -534,6 +534,30 @@ test-suite:edge:dune:dev:
# Gitlab doesn't support yet "expire_in: never" so we use the instance default
# expire_in: never
+test-suite:edge+4.11+trunk+dune:
+ stage: stage-1
+ dependencies: []
+ script:
+ - opam switch create 4.11.0 --empty
+ - eval $(opam env)
+ - opam repo add ocaml-beta https://github.com/ocaml/ocaml-beta-repository.git
+ - opam update
+ - opam install ocaml-variants=4.11.0+trunk
+ - opam install dune num
+ - eval $(opam env)
+ - export COQ_UNIT_TEST=noop
+ - make -f Makefile.dune test-suite
+ variables:
+ OPAM_SWITCH: base
+ artifacts:
+ name: "$CI_JOB_NAME.logs"
+ when: always
+ paths:
+ - _build/log
+ - _build/default/test-suite/logs
+ expire_in: 2 week
+ allow_failure: true
+
test-suite:base+async:
extends: .test-suite-template
dependencies: