Skip to content

Instantly share code, notes, and snippets.

@erikmd
Last active January 1, 2021 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikmd/6d4af38edcf6e8a6ce3207304d74300b to your computer and use it in GitHub Desktop.
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)
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