Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.56 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

.template: &template
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
  only:
Ralf Jung's avatar
Ralf Jung committed
  - /^master/@iris/iris
Ralf Jung's avatar
Ralf Jung committed
  - /^ci/@iris/iris
Ralf Jung's avatar
Ralf Jung committed
  except:
  - triggers
Ralf Jung's avatar
Ralf Jung committed
## Build jobs

Ralf Jung's avatar
Ralf Jung committed
build-coq.dev:
Ralf Jung's avatar
Ralf Jung committed
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version dev"
    #MANGLE_NAMES: "1" name mangling causes issues with string_ident
Ralf Jung's avatar
Ralf Jung committed

Ralf Jung's avatar
Ralf Jung committed
build-coq.8.13.1:
Ralf Jung's avatar
Ralf Jung committed
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version 8.13.1"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "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
Ralf Jung's avatar
Ralf Jung committed
build-coq.8.12.2:
Ralf Jung's avatar
Ralf Jung committed
  <<: *template
  variables:
Ralf Jung's avatar
Ralf Jung committed
    OPAM_PINS: "coq version 8.12.2"
Ralf Jung's avatar
Ralf Jung committed
    DENY_WARNINGS: "1"
Ralf Jung's avatar
Ralf Jung committed
build-coq.8.11.2:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.11.2"

# Nightly job with a known-to-work Coq version
Ralf Jung's avatar
Ralf Jung committed
# (so failures must be caused by std++)
build-stdpp.dev-coq.8.13.1:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.13.1   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV"
  except:
  only:
  - triggers
  - schedules
  - api

Ralf Jung's avatar
Ralf Jung committed
# Nightly job with latest Coq beta branch
Ralf Jung's avatar
Ralf Jung committed
build-stdpp.dev-coq.8.13.dev:
  <<: *template
  variables:
    OPAM_PINS: "coq version 8.13.dev   coq-stdpp.dev git git+https://gitlab.mpi-sws.org/iris/stdpp.git#$STDPP_REV"
    CI_COQCHK: "1"
  except:
  only:
  - triggers
  - schedules
  - api