Created
October 12, 2023 15:40
-
-
Save erikmd/2edf5d4f80a7f2358225caeafed74413 to your computer and use it in GitHub Desktop.
New version for https://github.com/pPomCo/belgames/blob/main/.github/workflows/docker-action.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
# This file was generated from `meta.yml`, please do not edit manually. | |
# Follow the instructions on https://github.com/coq-community/templates to regenerate. | |
name: Docker CI | |
on: | |
push: | |
branches: | |
- main | |
- ITP2023 | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
# the OS must be GNU/Linux to be able to use the docker-coq-action | |
runs-on: ubuntu-latest | |
if: ${{ github.ref == 'refs/heads/ITP2023' && startsWith(matrix.image, 'mathcomp/mathcomp:1.') || startsWith(matrix.image, 'mathcomp/mathcomp:2.') }} | |
strategy: | |
matrix: | |
image: | |
- 'mathcomp/mathcomp:2.0.0-coq-8.18' | |
- 'mathcomp/mathcomp:2.0.0-coq-8.17' | |
- 'mathcomp/mathcomp:2.0.0-coq-8.16' | |
- 'mathcomp/mathcomp:1.17.0-coq-8.18' | |
- 'mathcomp/mathcomp:1.17.0-coq-8.17' | |
- 'mathcomp/mathcomp:1.17.0-coq-8.16' | |
- 'mathcomp/mathcomp:1.17.0-coq-8.15' | |
- 'mathcomp/mathcomp:1.16.0-coq-8.15' | |
- 'mathcomp/mathcomp:1.15.0-coq-8.15' | |
- 'mathcomp/mathcomp:1.14.0-coq-8.15' | |
- 'mathcomp/mathcomp:1.13.0-coq-8.15' | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
opam_file: 'coq-belgames.opam' | |
custom_image: ${{ matrix.image }} | |
# See also: | |
# https://github.com/coq-community/docker-coq-action#readme | |
# https://github.com/erikmd/docker-coq-github-action-demo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment