-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,38 @@ jobs: | |
runs-on: ubuntu-latest | ||
container: | ||
image: coqorg/coq:8.18.0-ocaml-4.13.1-flambda | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- uses: dtolnay/[email protected] | ||
- run: cargo install --path cli/driver && cargo install --path cli/subcommands | ||
- name: opam setup | ||
run: | | ||
export HOME=/home/coq | ||
export PATH=$HOME/.cargo/bin:$PATH | ||
env | ||
opam switch 4.13.1+flambda | ||
eval $(opam env) | ||
- run: opam install . --deps-only | ||
working-directory: engine | ||
- run: | | ||
opam exec -- dune build | ||
opam exec -- dune install | ||
working-directory: engine | ||
- name: Build | ||
working-directory: examples/coverage | ||
run: | | ||
sudo apt-get install jq -y | ||
./setup.sh | ||
curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh | ||
sudo bash /tmp/nodesource_setup.sh | ||
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 |
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