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

Ralf Jung's avatar
Ralf Jung committed
3
iris-coq8.6:
Ralf Jung's avatar
Ralf Jung committed
4 5 6 7
  tags:
  - coq
  script:
  # prepare
8
  - . build/opam-ci.sh coq 8.6 coq-mathcomp-ssreflect 1.6.1
Ralf Jung's avatar
Ralf Jung committed
9
  # build
Ralf Jung's avatar
Ralf Jung committed
10 11 12 13
  - 'time make -j8 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'
Ralf Jung's avatar
Ralf Jung committed
14 15 16 17 18 19 20 21
  cache:
    key: "coq8.6"
    paths:
    - opamroot/
  only:
  - master
  - ci
  - timing