Skip to content
Snippets Groups Projects
Forked from Iris / stdpp
848 commits behind the upstream repository.
.gitlab-ci.yml 1.50 KiB
image: ralfjung/opam-ci:opam2

stages:
  - build

variables:
  CPU_CORES: "10"

.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
  <<: *only_branches
  stage: build
  interruptible: true
  tags:
  - fp
  script:
  - git clone https://gitlab.mpi-sws.org/iris/ci.git ci -b opam2
  - ci/buildjob
  cache:
    key: "$CI_JOB_NAME"
    paths:
    - _opam/
  except:
  - triggers
  - schedules
  - api

## Build jobs

build-coq.8.15.dev:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.15.dev"

build-coq.8.14.1:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.14.1"
    MANGLE_NAMES: "1"
    DENY_WARNINGS: "1"
    CI_COQCHK: "1"
    OPAM_PKG: "1"
    DOC_DIR: "coqdoc@center.mpi-sws.org:stdpp"
  tags:
  - fp-timing
  interruptible: false

# Separate MR job that does not run on fp-timing.
build-coq.8.14.1-mr:
  <<: *template
  <<: *only_mr
  variables:
    OPAM_PINS: "coq version 8.14.1"
    MANGLE_NAMES: "1"
    DENY_WARNINGS: "1"