Skip to content

Commit

Permalink
proof: Makefile and workflow for runtest (eventually, only one job fo…
Browse files Browse the repository at this point in the history
…r the proofs will be kept)
  • Loading branch information
tfaoliveira-sb committed Oct 4, 2024
1 parent 6880059 commit ba56602
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
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

0 comments on commit ba56602

Please sign in to comment.