Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.68 KiB
Newer Older
image: ralfjung/opam-ci:opam2
Ralf Jung's avatar
Ralf Jung committed
variables:
Ralf Jung's avatar
Ralf Jung committed
  CPU_CORES: "10"
  OCAML: "ocaml-variants.4.14.0+options ocaml-option-flambda"
  # Avoid needlessly increasing our TCB with native_compute
  COQEXTRAFLAGS: "-native-compiler no"
Ralf Jung's avatar
Ralf Jung committed

Ralf Jung's avatar
Ralf Jung committed
.only_branches: &only_branches
  only:
  - /^master/@iris/iris
  - /^ci/@iris/iris

.only_mr: &only_mr
  only:
  - merge_requests

.branches_and_mr: &branches_and_mr
  only:
  - /^master/@iris/iris
  - /^ci/@iris/iris
  - merge_requests

.template: &template
Ralf Jung's avatar
Ralf Jung committed
  <<: *only_branches
  interruptible: true
Ralf Jung's avatar
Ralf Jung committed
  tags:
Ralf Jung's avatar
Ralf Jung committed
  - fp
Ralf Jung's avatar
Ralf Jung committed
  script:
Ralf Jung's avatar
Ralf Jung committed
  - git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
Ralf Jung's avatar
Ralf Jung committed
  cache:
Ralf Jung's avatar
Ralf Jung committed
    key: "$CI_JOB_NAME"
Ralf Jung's avatar
Ralf Jung committed
    paths:
Ralf Jung's avatar
Ralf Jung committed
    - _opam/
Ralf Jung's avatar
Ralf Jung committed
  except:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
## Build jobs

build-coq.8.17.0:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.17.0"
    DENY_WARNINGS: "1"

Ralf Jung's avatar
Ralf Jung committed
build-coq.8.17.0-mr:
  <<: *template
  <<: *only_mr
  variables:
    OPAM_PINS: "coq version 8.17.0"
    DENY_WARNINGS: "1"
    MANGLE_NAMES: "1"

Ralf Jung's avatar
Ralf Jung committed
build-coq.8.16.1:
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version 8.16.1"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
    MANGLE_NAMES: "1"
    OPAM_PKG: "1"
    DOC_DIR: "coqdoc@center.mpi-sws.org:iris"
    DOC_OPTS: "--external https://plv.mpi-sws.org/coqdoc/stdpp/ stdpp"
  tags:
  - fp-timing
  interruptible: false

Ralf Jung's avatar
Ralf Jung committed
build-coq.8.15.2:
Ralf Jung's avatar
Ralf Jung committed
  <<: *template
Ralf Jung's avatar
Ralf Jung committed
  <<: *branches_and_mr
Ralf Jung's avatar
Ralf Jung committed
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version 8.15.2"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "1"
trigger-stdpp.dev:
  <<: *template
  variables:
    STDPP_REPO: "iris/stdpp"
    OPAM_PINS: "coq version $NIGHTLY_COQ   git+https://gitlab.mpi-sws.org/$STDPP_REPO#$STDPP_REV"
    CI_COQCHK: "1"
  except:
  only:
  - triggers
  - schedules
  - api