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

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
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
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
19
20
    paths:
    - opamroot/
  only:
Ralf Jung's avatar
Ralf Jung committed
21
  - /^master/@iris/iris
Ralf Jung's avatar
Ralf Jung committed
22
  - /^ci/@iris/iris
Ralf Jung's avatar
Ralf Jung committed
23
24
  except:
  - triggers
25
  - schedules
26
  - api
27

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

Ralf Jung's avatar
Ralf Jung committed
30
build-coq.dev:
Ralf Jung's avatar
Ralf Jung committed
31
32
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
33
34
35
36
37
38
    OPAM_PINS: "coq version dev"

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

Ralf Jung's avatar
Ralf Jung committed
40
build-coq.8.11.2:
Ralf Jung's avatar
Ralf Jung committed
41
42
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
43
    OPAM_PINS: "coq version 8.11.2"
Ralf Jung's avatar
Ralf Jung committed
44
    OPAM_PKG: "coq-iris"
Ralf Jung's avatar
Ralf Jung committed
45
46
    DOC_DIR: "coqdoc@center.mpi-sws.org:iris"
    DOC_OPTS: "--external https://plv.mpi-sws.org/coqdoc/stdpp/ stdpp"
Ralf Jung's avatar
Ralf Jung committed
47
48
  tags:
  - fp-timing
Ralf Jung's avatar
Ralf Jung committed
49

Ralf Jung's avatar
Ralf Jung committed
50
51
52
53
54
build-coq.8.10.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.10.2"

55
56
57
58
59
build-coq.8.9.1:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.9.1"

60
# Nightly job with a known-to-work Coq version
Ralf Jung's avatar
Ralf Jung committed
61
# (so failures must be caused by std++)
62
build-stdpp.dev-coq.8.11.2:
63
64
  <<: *template
  variables:
65
    OPAM_PINS: "coq version 8.11.2   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV"
66
67
68
69
70
71
  except:
  only:
  - triggers
  - schedules
  - api

Ralf Jung's avatar
Ralf Jung committed
72
73
# Nightly job with latest Coq branch
build-stdpp.dev-coq.8.12.dev:
74
75
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
76
    OPAM_PINS: "coq version 8.12.dev   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV"
77
    CI_COQCHK: "1"
78
79
80
81
82
  except:
  only:
  - triggers
  - schedules
  - api