Last active
January 1, 2021 12:37
-
-
Save erikmd/6d4af38edcf6e8a6ce3207304d74300b to your computer and use it in GitHub Desktop.
A Gentle Introduction to Container-based CI for Coq projects - Figure 1.2 (.github/workflows/coq-action-2.yml)
This file contains hidden or 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: | |
branches: ['master'] # forall push/merge in master | |
pull_request: | |
branches: ['**'] # forall submitted Pull Requests | |
jobs: | |
mathcomp: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: | |
- 'mathcomp/mathcomp:1.12.0-coq-8.12' | |
- 'mathcomp/mathcomp:1.12.0-coq-8.13' | |
# - 'mathcomp/mathcomp:latest-coq-dev' # not always available, | |
# see https://hub.docker.com/r/mathcomp/mathcomp#supported-tags | |
- 'mathcomp/mathcomp-dev:coq-dev' | |
fail-fast: false # don't stop jobs if one fails | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
opam_file: 'folder/coq-proj.opam' | |
custom_image: ${{ matrix.image }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment