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

Added files to allow this proof to be ran on the external CI #25

Merged
merged 2 commits into from
Oct 5, 2024
Merged
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
16 changes: 16 additions & 0 deletions .github/workflows/amd64-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,20 @@ jobs:
- name: return error
run: make -C proof/ CI=1 err

# proof (using runtest)
proof-runtest:
runs-on: [self-hosted, linux, X64, amd64-main]
steps:
- name: checkout
uses: actions/checkout@v4
- name: preprocess
run: make -j$JOBS -C src/ CI=1 preprocess-inplace

- name: run proof
run: make -j$JOBS -C proof/ all-runtest
- name: print report
run: make -C proof/ CI=1 reporter
- name: return error
run: make -C proof/ CI=1 err


6 changes: 6 additions & 0 deletions proof/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ all-no-report:
$(MAKE) check-extracted
$(MAKE) check-all

all-runtest: CI=1
all-runtest:
$(MAKE) distclean
$(MAKE) -C $(SRC) extract-to-easycrypt
(cd $(PROOF)/crypto_scalarmult/curve25519 && $(EASYCRYPT) runtest tests.config curve25519)

# -----------------------------------------------------------------------------
# clean rules

Expand Down
3 changes: 3 additions & 0 deletions proof/crypto_scalarmult/curve25519/easycrypt.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[general]
idirs = ../../arrays/
rdirs = amd64
2 changes: 2 additions & 0 deletions proof/crypto_scalarmult/curve25519/tests.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[test-curve25519]
okdirs = !amd64