.gitlab-ci.yml 1.12 KB
Newer Older
1
image: ralfjung/opam-ci:opam2
Ralf Jung's avatar
Ralf Jung committed
2

Ralf Jung's avatar
Ralf Jung committed
3 4 5
stages:
  - build

Ralf Jung's avatar
Ralf Jung committed
6
variables:
Ralf Jung's avatar
Ralf Jung committed
7
  CPU_CORES: "10"
Ralf Jung's avatar
Ralf Jung committed
8 9

.template: &template
Ralf Jung's avatar
Ralf Jung committed
10
  stage: build
Ralf Jung's avatar
Ralf Jung committed
11
  tags:
Ralf Jung's avatar
Ralf Jung committed
12
  - fp
Ralf Jung's avatar
Ralf Jung committed
13
  script:
Ralf Jung's avatar
Ralf Jung committed
14
  - git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
Ralf Jung's avatar
Ralf Jung committed
15
  - ci/buildjob
Ralf Jung's avatar
Ralf Jung committed
16 17 18
  cache:
    key: "$CI_JOB_NAME"
    paths:
Ralf Jung's avatar
Ralf Jung committed
19
    - _opam/
Ralf Jung's avatar
Ralf Jung committed
20
  only:
Ralf Jung's avatar
Ralf Jung committed
21 22
  - master@iris/examples
  - /^ci/@iris/examples
Ralf Jung's avatar
Ralf Jung committed
23 24
  except:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
25
  - schedules
Ralf Jung's avatar
Ralf Jung committed
26
  - api
Ralf Jung's avatar
Ralf Jung committed
27

Ralf Jung's avatar
Ralf Jung committed
28 29
## Build jobs

Ralf Jung's avatar
Ralf Jung committed
30
# We are in Coq's CI test suite, so better make sure we keep working with Coq master.
31 32 33 34 35
build-coq.dev:
  <<: *template
  variables:
    OPAM_PINS: "coq version dev"

36 37 38 39
build-coq.8.12.0:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.12.0"
Ralf Jung's avatar
Ralf Jung committed
40
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
41 42
  tags:
  - fp-timing
43 44 45 46 47

build-coq.8.11.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.11.2"
Ralf Jung's avatar
Ralf Jung committed
48

49
build-iris.dev:
Ralf Jung's avatar
Ralf Jung committed
50 51
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
52
    OPAM_PINS: "coq version 8.13.dev   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV   coq-iris.dev git git+https://gitlab.mpi-sws.org/iris/iris.git#$IRIS_REV   coq-iris-heap-lang.dev git git+https://gitlab.mpi-sws.org/iris/iris.git#$IRIS_REV"
Ralf Jung's avatar
Ralf Jung committed
53
  except:
Ralf Jung's avatar
Ralf Jung committed
54 55
  only:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
56
  - schedules
Ralf Jung's avatar
Ralf Jung committed
57
  - api