.gitlab-ci.yml 793 Bytes
Newer Older
Ralf Jung's avatar
Ralf Jung committed
1
image: ralfjung/opam-ci:latest
2

Ralf Jung's avatar
Ralf Jung committed
3
iris-coq8.5.3:
4 5 6
  tags:
  - coq
  script:
Ralf Jung's avatar
Ralf Jung committed
7
  # prepare
Ralf Jung's avatar
Ralf Jung committed
8
  - . build/opam-ci.sh 'coq 8.5.3' 'coq-mathcomp-ssreflect 1.6.1'
Ralf Jung's avatar
Ralf Jung committed
9
  # build
10
  - 'time make -j8 TIMED=y 2>&1 | tee build-log.txt'
11
  - 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi'
12
  - 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \(user: [0-9]" | tee build-time.txt'
Ralf Jung's avatar
Ralf Jung committed
13
  - 'if (( RANDOM % 10 == 0 )); then make validate; fi'
Ralf Jung's avatar
Ralf Jung committed
14 15 16 17
  cache:
    key: "coq8.5.3"
    paths:
    - opamroot/
18 19
  only:
  - master
Ralf Jung's avatar
Ralf Jung committed
20
  - ci
21
  - timing
22 23 24
  artifacts:
    paths:
    - build-time.txt
Ralf Jung's avatar
Ralf Jung committed
25

Ralf Jung's avatar
Ralf Jung committed
26
iris-coq8.6:
Ralf Jung's avatar
Ralf Jung committed
27 28 29 30
  tags:
  - coq
  script:
  # prepare
Ralf Jung's avatar
Ralf Jung committed
31
  - . build/opam-ci.sh 'coq 8.6' 'coq-mathcomp-ssreflect 1.6.1'
Ralf Jung's avatar
Ralf Jung committed
32 33 34 35 36 37 38 39 40 41
  # build
  - 'time make -j8'
  cache:
    key: "coq8.6"
    paths:
    - opamroot/
  only:
  - master
  - ci
  - timing