-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtest: allows to specify provers from the CLI
- Loading branch information
Showing
2 changed files
with
19 additions
and
8 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
opam pin add -n easycrypt . | ||
opam install --deps-only easycrypt | ||
- name: Compile EasyCrypt | ||
run: opam config exec -- make | ||
run: opam exec -- make | ||
|
||
compile-nix: | ||
name: EasyCrypt compilation (nix) | ||
|
@@ -61,15 +61,15 @@ jobs: | |
opam pin add -n easycrypt . | ||
opam install --deps-only easycrypt | ||
- name: Compile EasyCrypt | ||
run: opam config exec -- make | ||
run: opam exec -- make | ||
- name: Detect SMT provers | ||
run: | | ||
rm -f ~/.why3.conf | ||
opam config exec -- ./ec.native why3config -why3 ~/.why3.conf | ||
opam exec -- ./ec.native why3config -why3 ~/.why3.conf | ||
- name: Compile Library (${{ matrix.target }}) | ||
env: | ||
TARGET: ${{ matrix.target }} | ||
run: opam config exec -- make $TARGET | ||
run: opam exec -- make $TARGET | ||
- uses: actions/upload-artifact@v3 | ||
name: Upload report.log | ||
if: always() | ||
|
@@ -87,7 +87,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: [ [ 'jasmin-eclib', 'jasmin-lang/jasmin', 'eclib', 'tests.config', 'jasmin' ] ] | ||
target: [ [ 'jasmin-eclib', 'jasmin-lang/jasmin', 'eclib', 'tests.config', 'jasmin', '[email protected],[email protected]' ] ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -102,14 +102,14 @@ jobs: | |
opam pin add -n easycrypt easycrypt | ||
opam install --deps-only easycrypt | ||
- name: Compile & Install EasyCrypt | ||
run: opam config exec -- make -C easycrypt build install | ||
run: opam exec -- make -C easycrypt build install | ||
- name: Detect SMT provers | ||
run: | | ||
rm -f ~/.why3.conf ~/.config/easycrypt/why3.conf | ||
opam config exec -- easycrypt why3config | ||
opam exec -- easycrypt why3config | ||
- name: Compile project | ||
working-directory: project/${{ matrix.target[2] }} | ||
run: opam config exec -- ec-runtest ${{ matrix.target[3] }} ${{ matrix.target[4] }} | ||
run: opam exec -- ec-runtest --provers="{{ matrix.target[5] }}" ${{ matrix.target[3] }} ${{ matrix.target[4] }} | ||
- uses: actions/upload-artifact@v3 | ||
name: Upload report.log | ||
if: always() | ||
|
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