Skip to content

Fix incorrect Proof commands #122

Fix incorrect Proof commands

Fix incorrect Proof commands #122

Workflow file for this run

# 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:
- master
pull_request:
branches:
- '**'
jobs:
build:
# the OS must be GNU/Linux to be able to use the docker-coq-action
runs-on: ubuntu-latest
strategy:
matrix:
image:
- 'rocq/rocq-prover:dev'
- 'rocq/rocq-prover:9.0'
- 'coqorg/coq:8.20'
- 'coqorg/coq:8.19'
- 'coqorg/coq:8.18'
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-corn.opam'
custom_image: ${{ matrix.image }}
after_script: |
startGroup "Workaround permission issue"
sudo chown -R 1000:1000 .
endGroup
startGroup "Test examples"
if $(coqc -print-version|grep -q "^9\.")
then
cd examples
sh build-examples.sh
fi
endGroup
- name: Revert permissions
# to avoid a warning at cleanup time
if: ${{ always() }}
run: sudo chown -R 1001:116 .
# See also:
# https://github.com/coq-community/docker-coq-action#readme
# https://github.com/erikmd/docker-coq-github-action-demo