diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f0f494a9807095317044795d41acd15d935db249..d57d7218a2a714e783ba70e0e45c4cebf3f886a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,24 +1,30 @@ image: ralfjung/opam-ci:latest -gps-coq8.6: +variables: + CPU_CORES: "9" + +iris-coq8.6: tags: - - coq + - fp-timing script: - # prepare + # prepare - cd coq - - . build/opam-ci.sh 'coq 8.6' 'coq-mathcomp-ssreflect dev' + - . build/opam-ci.sh 'coq 8.6' 'coq-mathcomp-ssreflect 1.6.1' + - env | egrep '^(CI_BUILD_REF|CI_RUNNER)' > build-env.txt # build - - 'time make -j8 TIMED=y 2>&1 | tee build-log-full.txt' - - 'if fgrep Axiom build-log-full.txt >/dev/null; then exit 1; fi' - - 'cat build-log-full.txt | egrep "[a-zA-Z0-9_/-]+ \(user: [0-9]" | tee build-time-full.txt' + - 'time make -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' cache: key: "coq8.6" paths: - - coq/opamroot/ + - opamroot/ only: - master - /^bench-.*$/ - opam-ci artifacts: paths: - - build-time.txt \ No newline at end of file + - build-time.txt + - build-env.txt