.gitlab-ci.yml 1.08 KB
Newer Older
Ralf Jung's avatar
Ralf Jung committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: ralfjung/opam-ci:latest

variables:
  CPU_CORES: "9"

.template: &template
  tags:
  - fp-timing
  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/

25
build-coq.8.7.0:
Ralf Jung's avatar
Ralf Jung committed
26
27
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
28
    OPAM_PINS: "coq version 8.7.0   coq-mathcomp-ssreflect version 1.6.4"
Ralf Jung's avatar
Ralf Jung committed
29
30
31
32
33
34
  except:
  - triggers

build-coq.8.6.1:
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
35
    OPAM_PINS: "coq version 8.6.1   coq-mathcomp-ssreflect version 1.6.4"
Ralf Jung's avatar
Ralf Jung committed
36
37
38
39
40
41
42
43
44
45
  artifacts:
    paths:
    - build-time.txt
    - build-env.txt
  except:
  - triggers

build-iris.dev:
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
46
    OPAM_PINS: "coq version 8.7.0   coq-mathcomp-ssreflect version 1.6.4   coq-iris.dev git https://gitlab.mpi-sws.org/FP/iris-coq.git#$IRIS_REV"
Ralf Jung's avatar
Ralf Jung committed
47
48
  only:
  - triggers