https://gitlab.com/nomadic-labs/mi-cho-coq
Raw File
Tip revision: a5c0f3c90a9958b914cb4be7236db645438c7ffa authored by Guillaume Claret on 18 February 2020, 14:19:28 UTC
[of_ocaml] Add generated Coq code from the Tezos protocol with some proofs
Tip revision: a5c0f3c
.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
    - export scversion="latest"
    - wget -qO- "https://storage.googleapis.com/shellcheck/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 --no-action coq-mi-cho-coq .
    - opam depext -y coq-mi-cho-coq
    - opam pin add -y https://github.com/clarus/coq-of-ocaml.git#custom-tezos
    - opam install -y -j ${NJOBS} --with-test coq-mi-cho-coq
    - which michocoq

coq:8.11:
  extends: .build

coq:8.11:
  extends: .build
back to top