Update CI #90
Workflow file for this run
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
# This file was generated from `meta.yml` using the coq-community templates and | |
# then patched to support the test-suite. Be careful when regenerate it. | |
name: Docker CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
# the OS must be GNU/Linux to be able to use the docker-coq-action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: | |
- 'mathcomp/mathcomp:2.0.0-coq-8.16' | |
- 'mathcomp/mathcomp:2.0.0-coq-8.17' | |
- 'mathcomp/mathcomp:2.0.0-coq-8.18' | |
- 'mathcomp/mathcomp:2.1.0-coq-8.16' | |
- 'mathcomp/mathcomp:2.1.0-coq-8.17' | |
- 'mathcomp/mathcomp:2.1.0-coq-8.18' | |
- 'mathcomp/mathcomp:2.2.0-coq-8.16' | |
- 'mathcomp/mathcomp:2.2.0-coq-8.17' | |
- 'mathcomp/mathcomp:2.2.0-coq-8.18' | |
- 'mathcomp/mathcomp:2.2.0-coq-8.19' | |
- 'mathcomp/mathcomp:2.2.0-coq-dev' | |
- 'mathcomp/mathcomp-dev:coq-8.16' | |
- 'mathcomp/mathcomp-dev:coq-8.17' | |
- 'mathcomp/mathcomp-dev:coq-8.18' | |
- 'mathcomp/mathcomp-dev:coq-8.19' | |
- 'mathcomp/mathcomp-dev:coq-dev' | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
opam_file: 'coq-mathcomp-zify.opam' | |
custom_image: ${{ matrix.image }} | |
after_script: | | |
startGroup "Run tests" | |
sudo chown -R coq:coq . | |
make test-suite TEST_SKIP_BUILD=1 | |
endGroup | |
- name: Revert permissions | |
if: ${{ always() }} | |
run: sudo chown -R 1001:116 . | |
# See also: | |
# https://github.com/coq-community/docker-coq-action#readme | |
# https://github.com/erikmd/docker-coq-github-action-demo |