.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
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

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

Ralf Jung's avatar
Ralf Jung committed
36
build-coq.8.11.2:
Ralf Jung's avatar
Ralf Jung committed
37
38
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
39
    OPAM_PINS: "coq version 8.11.2"
Ralf Jung's avatar
Ralf Jung committed
40
    OPAM_PKG: "coq-iris"
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.10.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.10.2"

51
52
53
54
55
build-coq.8.9.1:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.9.1"

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

# Nightly job with Coq master
build-stdpp.dev-coq.dev:
70
71
72
  <<: *template
  variables:
    OPAM_PINS: "coq version 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