https://gitlab.com/nomadic-labs/mi-cho-coq
Raw File
Tip revision: eb5a0b469c45472afa87335abee5c1644eb10349 authored by Raphaƫl Cauderlier on 22 June 2020, 13:14:49 UTC
[build] sort and remove duplicates in the opam dependencies
Tip revision: eb5a0b4
.gitlab-ci.yml
stages:
  - build

.build:
  stage: build
  image: coqorg/${CI_JOB_NAME}
  before_script:
    - opam switch $COMPILER_EDGE; eval $(opam env)
    - opam update -y
    - sudo apt-get update -y -q
  script:
    - sudo chown -R coq:coq "$CI_PROJECT_DIR"
    - DEBIAN_FRONTEND=noninteractive sudo apt-get install -y -q xz-utils wget emacs libgmp-dev
    - export scversion="latest"
    - wget -qO- "https://github.com/koalaman/shellcheck/releases/download/latest/shellcheck-"${scversion}".linux.x86_64.tar.xz" | tar -xJv
    - shellcheck-"${scversion}"/shellcheck `find -name 'configure'`
    - emacs --batch -l scripts/org-lint-README.el --kill
    - opam pin add -k git -y -j ${NJOBS} coq-mi-cho-coq .
    - which michocoq

coq:8.8:
  extends: .build

coq:8.9:
  extends: .build

coq:8.10:
  extends: .build
back to top