CI #60
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
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "**" | |
schedule: | |
# Tuesday 8am UTC (3am EST) | |
- cron: "0 8 * * TUE" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: | |
- "coqorg/coq:dev" | |
- "coqorg/coq:8.20" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: coq-community/docker-coq-action@v1 | |
with: | |
custom_image: ${{ matrix.image }} | |
before_install: | |
install: | |
after_install: | |
before_script: | | |
startGroup "Workaround permission issue" | |
sudo chown -R coq:coq . | |
endGroup | |
script: | | |
startGroup "Build project" | |
make -j4 -k | |
endGroup | |
after_script: | |
uninstall: | |
- name: Revert permissions | |
if: ${{ always() }} | |
run: sudo chown -R 1001:116 . |