.gitlab-ci.yml 1.46 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.12.1:
Ralf Jung's avatar
Ralf Jung committed
36
37
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
38
    OPAM_PINS: "coq version 8.12.1"
Ralf Jung's avatar
Ralf Jung committed
39
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
40
    OPAM_PKG: "1"
Ralf Jung's avatar
Ralf Jung committed
41
42
    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
43
44
  tags:
  - fp-timing
Ralf Jung's avatar
Ralf Jung committed
45

Ralf Jung's avatar
Ralf Jung committed
46
47
48
49
50
build-coq.8.11.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.11.2"

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

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

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