.gitlab-ci.yml 1001 Bytes
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
  cache:
Ralf Jung's avatar
Ralf Jung committed
17
    key: "$CI_JOB_NAME"
Ralf Jung's avatar
Ralf Jung committed
18
    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/lambda-rust
  - /^ci/@iris/lambda-rust
Ralf Jung's avatar
Ralf Jung committed
23 24
  except:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
25
  - schedules
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 benchmark suite, so better make sure we keep working with Coq master.
31
build-coq.dev:
Ralf Jung's avatar
Ralf Jung committed
32 33
  <<: *template
  variables:
34 35
    OPAM_PINS: "coq version dev"

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

45 46 47
build-iris.dev:
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
48
    OPAM_PINS: "coq version 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"
Ralf Jung's avatar
Ralf Jung committed
49
  except:
50 51
  only:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
52
  - schedules
53
  - api