Created
June 19, 2020 11:22
-
-
Save erikmd/be4ac4399d9ef83f892d3e910ea4771e to your computer and use it in GitHub Desktop.
A Gentle Introduction to Container-based CI for Coq projects - Figure 1.1 (.github/workflows/coq-action-1.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: | |
coq: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
coq_version: | |
- '8.11' | |
- 'dev' | |
ocaml_version: ['4.07-flambda'] | |
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' | |
coq_version: ${{ matrix.coq_version }} | |
ocaml_version: ${{ matrix.ocaml_version }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment