Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.44 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"
Ralf Jung's avatar
Ralf Jung committed
  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/stdpp
  - /^ci/@iris/stdpp

.only_mr: &only_mr
  only:
  - merge_requests

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

.template: &template
Ralf Jung's avatar
Ralf Jung committed
  <<: *only_branches
  interruptible: true
Ralf Jung's avatar
Ralf Jung committed
  - fp
  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
  - ci/buildjob
    key: "$CI_JOB_NAME"
Ralf Jung's avatar
Ralf Jung committed
    - _opam/
Ralf Jung's avatar
Ralf Jung committed
  except:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
  - schedules
Ralf Jung's avatar
Ralf Jung committed
## Build jobs

# The newest version runs with timing.
Ralf Jung's avatar
Ralf Jung committed
build-coq.8.19.0:
Ralf Jung's avatar
Ralf Jung committed
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version 8.19.0"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "1"
    MANGLE_NAMES: "1"
    CI_COQCHK: "1"
    OPAM_PKG: "1"
    DOC_DIR: "coqdoc@center.mpi-sws.org:stdpp"
  tags:
  - fp-timing
  interruptible: false
Ralf Jung's avatar
Ralf Jung committed

# The newest version also runs in MRs, without timing.
Ralf Jung's avatar
Ralf Jung committed
build-coq.8.19.0-mr:
Ralf Jung's avatar
Ralf Jung committed
  variables:
    OPAM_PINS: "coq version 8.19.0"
    DENY_WARNINGS: "1"
    MANGLE_NAMES: "1"

Ralf Jung's avatar
Ralf Jung committed
# The oldest version runs in MRs, without name mangling.
build-coq.8.18.0:
Ralf Jung's avatar
Ralf Jung committed
  <<: *branches_and_mr
    OPAM_PINS: "coq version 8.18.0"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "1"