.gitlab-ci.yml 1.49 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
    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
  - /^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
    OPAM_PINS: "coq version dev"

Ralf Jung's avatar
Ralf Jung committed
35
build-coq.8.13.0:
Ralf Jung's avatar
Ralf Jung committed
36
37
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
38
    OPAM_PINS: "coq version 8.13.0"
Ralf Jung's avatar
Ralf Jung committed
39
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
40

Ralf Jung's avatar
Ralf Jung committed
41
build-coq.8.12.2:
Ralf Jung's avatar
Ralf Jung committed
42
43
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
44
    OPAM_PINS: "coq version 8.12.2"
Ralf Jung's avatar
Ralf Jung committed
45
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
46
    OPAM_PKG: "1"
Ralf Jung's avatar
Ralf Jung committed
47
48
    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
49
50
  tags:
  - fp-timing
Ralf Jung's avatar
Ralf Jung committed
51

Ralf Jung's avatar
Ralf Jung committed
52
53
54
55
56
build-coq.8.11.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.11.2"

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

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