.gitlab-ci.yml 1.45 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
# Nightly job with a known-to-work Coq version
Ralf Jung's avatar
Ralf Jung committed
56
# (so failures must be caused by std++)
57
build-stdpp.dev-coq.8.11.2:
58
59
  <<: *template
  variables:
60
    OPAM_PINS: "coq version 8.11.2   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV"
61
62
63
64
65
66
  except:
  only:
  - triggers
  - schedules
  - api

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