Skip to content
Snippets Groups Projects

CI: test against coq 8.6.1

Merged Ralf Jung requested to merge ci/ralf/8.6.1 into master
1 file
+ 14
8
Compare changes
  • Side-by-side
  • Inline
+ 14
8
@@ -3,27 +3,33 @@ image: ralfjung/opam-ci:latest
variables:
CPU_CORES: "9"
gps-coq8.6:
.template: &template
tags:
- fp-timing
script:
# prepare
# prepare
- cd coq
- . build/opam-ci.sh coq 8.6 coq-mathcomp-ssreflect 1.6.1
- . build/opam-ci.sh coq "$COQ_VERSION" coq-mathcomp-ssreflect "$SSR_VERSION"
- env | egrep '^(CI_BUILD_REF|CI_RUNNER)' > build-env.txt
# build
- 'time make -j$CPU_CORES TIMED=y 2>&1 | tee build-log.txt'
- 'time make -k -j$CPU_CORES TIMED=y 2>&1 | tee build-log.txt'
- 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi'
- 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \(user: [0-9]" | tee build-time.txt'
- 'if (( RANDOM % 10 == 0 )); then make validate; fi'
- 'if test -n "$VALIDATE" && (( RANDOM % 10 == 0 )); then make validate; fi'
cache:
key: "coq8.6"
key: "coq$COQ_VERSION-ssr$SSR_VERSION"
paths:
- opamroot/
only:
- master
- /^bench-/
- ci
- /^ci/
gps-coq8.6.1:
<<: *template
variables:
COQ_VERSION: "8.6.1"
SSR_VERSION: "1.6.1"
VALIDATE: 1
artifacts:
paths:
- coq/ra/build-time.txt
Loading