Skip to content

Commit

Permalink
Merge pull request #118 from geonnave/fix-hax-skip-rng-functions
Browse files Browse the repository at this point in the history
Fix: make hax skip RNG functions
  • Loading branch information
geonnave authored Nov 2, 2023
2 parents 567669d + e6e41f8 commit ae225d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
needs: unit-tests
runs-on: ubuntu-latest
if: >-
(github.event_name == 'workflow_dispatch') ||
(github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags'))
vars.SHOULD_GENERATE_FSTAR == 1 &&
((github.event_name == 'workflow_dispatch') || (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')))
steps:
- name: Checkout edhoc-rs
Expand All @@ -85,7 +85,7 @@ jobs:

- name: Generate fstar code using the main library and the hacspec crypto backend
run: |
docker run --rm -v ${{ github.workspace }}:/edhoc-rs hacspec-v2 bash -c "cd edhoc-rs && cargo-hax -C -p edhoc-rs -p edhoc-crypto -p edhoc-ead --no-default-features --features='crypto-hacspec, ead-none' --release \; into -i '-c_wrapper::**' fstar"
docker run --rm -v ${{ github.workspace }}:/edhoc-rs hacspec-v2 bash -c "cd edhoc-rs && cargo-hax -C -p edhoc-rs -p edhoc-crypto -p edhoc-ead --no-default-features --features="crypto-hacspec, ead-none" --release \; into -i '-c_wrapper::** -edhoc_rs::generate_connection_identifier_cbor -edhoc_rs::generate_connection_identifier' fstar"
zip -j -r edhoc-rs-fstar.zip $(find . -name *fst)
- name: Upload artifact
Expand Down

0 comments on commit ae225d4

Please sign in to comment.