Adapt to coq/coq#18082 (Ltac2 mutable refs are not values) #520
Workflow file for this run
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 (Coq, docker) | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
jobs: | |
build-docker: | |
strategy: | |
fail-fast: false | |
matrix: | |
coq-version: [ 'dev' , '8.16' ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: all | |
uses: coq-community/docker-coq-action@v1 | |
with: | |
coq_version: ${{ matrix.coq-version }} | |
ocaml_version: default | |
custom_script: | | |
sudo chmod -R a=u . | |
# Work around https://github.com/actions/checkout/issues/766 | |
git config --global --add safe.directory "*" | |
echo '::group::install general dependencies' | |
sudo apt-get update -y | |
sudo apt-get install -y python python3 | |
eval $(opam env) | |
echo '::endgroup::' | |
echo '::remove-matcher owner=coq-problem-matcher::' | |
etc/ci/github-actions-make.sh --warnings -j2 all | |
etc/ci/github-actions-make.sh --warnings -j2 perf-Sanity | |
check-all-docker: | |
runs-on: ubuntu-latest | |
needs: build-docker | |
if: always() | |
steps: | |
- run: echo 'The triggering workflow passed' | |
if: ${{ needs.build-docker.result == 'success' }} | |
- run: echo 'The triggering workflow failed' && false | |
if: ${{ needs.build-docker.result != 'success' }} |