Adapt w.r.t. coq/coq#19481. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coq-community/docker-coq-action@v1.2.3 | |
with: | |
opam_file: 'coq-tactician.opam' | |
coq_version: 'dev' | |
ocaml_version: '4.13-flambda' | |
install: | | |
startGroup "Install dependencies" | |
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev | |
opam pin add -n -y -k path $PACKAGE $WORKDIR | |
opam remove coq-stdlib -y # Make sure we can build without stdlib | |
opam update -y | |
opam install -y -j 2 -t $PACKAGE --deps-only | |
endGroup | |
script: | | |
startGroup "Build" | |
opam install -y -v -j 2 -t $PACKAGE | |
opam list | |
endGroup |