Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Coq export examples in CI #40

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/run-cn-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,17 @@ jobs:

- name: Install Cerberus
run: |
opam switch ${{ matrix.version }}
eval $(opam env --switch=${{ matrix.version }})
opam switch with_coq
eval $(opam env --switch=with_coq)
opam pin --yes --no-action add cerberus-lib .
opam pin --yes --no-action add cerberus .
opam install --yes cerberus

- name: Install CN
run: |
opam switch ${{ matrix.version }}
eval $(opam env --switch=${{ matrix.version }})
opam switch with_coq
eval $(opam env --switch=with_coq)
opam pin --yes --no-action add cerberus-lib .
opam pin --yes --no-action add cn .
opam install --yes cn

Expand All @@ -95,6 +96,6 @@ jobs:

- name: Run CN Tutorial CI tests
run: |
opam switch ${{ matrix.version }}
eval $(opam env --switch=${{ matrix.version }})
opam switch with_coq
eval $(opam env --switch=with_coq)
USE_OPAM='' tests/run-cn-tutorial-ci.sh cn-tutorial
2 changes: 1 addition & 1 deletion src/example-archive/check-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ subdirs=(
"Rust"
"SAW"
"simple-examples"
# "coq-lemmas"
"coq-lemmas"
)
FAILURE=0

Expand Down