.gitlab-ci.yml 841 Bytes
Newer Older
Robbert Krebbers's avatar
Robbert Krebbers committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
image: ralfjung/opam-ci:opam2

stages:
  - build

variables:
  CPU_CORES: "10"

.template: &template
  stage: build
  tags:
  - fp
  script:
  - git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
  - ci/buildjob
  cache:
    key: "$CI_JOB_NAME"
    paths:
Ralf Jung's avatar
Ralf Jung committed
19
    - _opam/
Robbert Krebbers's avatar
Robbert Krebbers committed
20 21 22 23 24 25
  only:
  - master
  - /^ci/
  except:
  - triggers
  - schedules
Ralf Jung's avatar
Ralf Jung committed
26
  - api
Robbert Krebbers's avatar
Robbert Krebbers committed
27 28 29

## Build jobs

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

build-iris.dev:
  <<: *template
  variables:
39
    OPAM_PINS: "coq version dev   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV  coq-iris.dev git git+https://gitlab.mpi-sws.org/iris/iris.git#$IRIS_REV   coq-iris-heap-lang.dev git git+https://gitlab.mpi-sws.org/iris/iris.git#$IRIS_REV"
Robbert Krebbers's avatar
Robbert Krebbers committed
40 41 42 43
  except:
  only:
  - triggers
  - schedules
Ralf Jung's avatar
Ralf Jung committed
44
  - api