.gitlab-ci.yml 680 Bytes
Newer Older
1 2
image: ralfjung/opam-ci:latest

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
stdpp-coq8.5:
  tags:
  - coq
  script:
  # prepare
  - . build/opam-ci.sh coq 8.5.3
  # build
  - 'time make -j8'
  cache:
    key: "coq8.5"
    paths:
    - opamroot/
  only:
  - master
  - ci
  - timing

20 21 22 23 24 25 26 27 28 29
stdpp-coq8.6:
  tags:
  - coq
  script:
  # prepare
  - . build/opam-ci.sh coq 8.6
  # build
  - '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'
30
  - 'if (( RANDOM % 10 == 0 )); then make validate; fi'
31 32 33 34 35 36 37 38
  cache:
    key: "coq8.6"
    paths:
    - opamroot/
  only:
  - master
  - ci
  - timing