.gitlab-ci.yml 1.54 KB
Newer Older
Michael Sammler's avatar
Michael Sammler committed
1
2
3
4
5
6
image: ralfjung/opam-ci:opam2

stages:
  - build

variables:
7
8
  # dune takes care of parallelization itself and does not like running in parallel
  CPU_CORES: "1"
9
  MAKE_TARGET: "all_with_examples"
Michael Sammler's avatar
Michael Sammler committed
10
  OCAML: "ocaml-base-compiler.4.07.1"
Michael Sammler's avatar
Michael Sammler committed
11
12
13
14
15
16
17
18
19
20
21

.template: &template
  stage: build
  tags:
  - fp
  script:
  - git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
  - ci/buildjob
  cache:
    key: "$CI_JOB_NAME"
    paths:
Ralf Jung's avatar
Ralf Jung committed
22
    - _opam/
23
24
25
  only:
  - master@iris/refinedc
  - /^ci/@iris/refinedc
Michael Sammler's avatar
Michael Sammler committed
26
  - /^time/@iris/refinedc
27
28
29
30
  except:
  - triggers
  - schedules
  - api
Michael Sammler's avatar
Michael Sammler committed
31
32

## Build jobs
Michael Sammler's avatar
Michael Sammler committed
33
build-coq.8.14.0-timing:
Michael Sammler's avatar
Michael Sammler committed
34
35
  <<: *template
  variables:
Michael Sammler's avatar
Michael Sammler committed
36
    OPAM_PINS: "coq version 8.14.0   cerberus git git+https://github.com/rems-project/cerberus.git#7eb94d628845555cb5425f4f4b48890b345efdc5"
Ralf Jung's avatar
Ralf Jung committed
37
    DENY_WARNINGS: "1"
Michael Sammler's avatar
Michael Sammler committed
38
    OPAM_PKG: "1"
Michael Sammler's avatar
Michael Sammler committed
39
40
41
  only:
  - master@iris/refinedc
  - /^time/@iris/refinedc
42
  # timing only for master and time/ branches
Michael Sammler's avatar
Michael Sammler committed
43
44
45
  tags:
  - fp-timing

Michael Sammler's avatar
Michael Sammler committed
46
build-coq.8.14.0:
Michael Sammler's avatar
Michael Sammler committed
47
48
  <<: *template
  variables:
Michael Sammler's avatar
Michael Sammler committed
49
    OPAM_PINS: "coq version 8.14.0   cerberus git git+https://github.com/rems-project/cerberus.git#7eb94d628845555cb5425f4f4b48890b345efdc5"
Michael Sammler's avatar
Michael Sammler committed
50
51
52
53
    DENY_WARNINGS: "1"
  only:
  - /^ci/@iris/refinedc

Ralf Jung's avatar
Ralf Jung committed
54
trigger-iris.dev:
Michael Sammler's avatar
Michael Sammler committed
55
56
  <<: *template
  variables:
Michael Sammler's avatar
Michael Sammler committed
57
    OPAM_PINS: "coq version 8.14.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  cerberus git git+https://github.com/rems-project/cerberus.git#7eb94d628845555cb5425f4f4b48890b345efdc5"
Michael Sammler's avatar
Michael Sammler committed
58
59
60
61
62
  except:
  only:
  - triggers
  - schedules
  - api