image: ralfjung/opam-ci:latest variables: CPU_CORES: "9" .template: &template tags: - fp script: # prepare - . build/opam-ci.sh $OPAM_PINS - env | egrep '^(CI_BUILD_REF|CI_RUNNER)' > build-env.txt # build - '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_/-]+ \((real|user): [0-9]" | tee build-time.txt' cache: key: "$CI_JOB_NAME" paths: - opamroot/ only: - master - /^ci/ except: - triggers ## Build jobs build-coq.8.7.1: <<: *template variables: OPAM_PINS: "coq version 8.7.1 coq-mathcomp-ssreflect version 1.6.4" tags: - fp-timing artifacts: paths: - build-time.txt - build-env.txt build-coq.8.6.1: <<: *template variables: OPAM_PINS: "coq version 8.6.1 coq-mathcomp-ssreflect version 1.6.4" build-iris.dev: <<: *template variables: OPAM_PINS: "coq version dev coq-mathcomp-ssreflect version dev coq-iris.dev git https://gitlab.mpi-sws.org/FP/iris-coq.git#$IRIS_REV" except: only: - triggers