Coq small fixes #3
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: Extract and Run - Coq | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: coqorg/coq:8.18.0-ocaml-4.13.1-flambda | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
export HOME=/home/coq | |
export PATH=$HOME/.cargo/bin:$PATH | |
env | |
opam switch 4.13.1+flambda | |
eval $(opam env) | |
./setup.sh | |
cd examples/coverage | |
cargo hax into coq | |
cd proofs/coq/extraction | |
sed 's/_impl_f_/_f_/' < Coverage_Test_instance.v > Coverage_Test_instance.v | |
coq_makefile -f _CoqProject -o Makefile | |
make |