Skip to content

Commit

Permalink
DO NOT MERGE: Testing w/ explicit docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Nov 23, 2023
1 parent c05eb4b commit 29e66ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,17 @@ jobs:
generate-fstar:
# needs: unit-tests
runs-on: ubuntu-latest
container: docker.io/geonnave/hax
# container: docker.io/geonnave/hax

steps:
- uses: actions/checkout@v4

- name: Generate fstar code using the main library and the hacspec crypto backend
run: |
docker run --rm -v ${{ github.workspace }}:/edhoc-rs docker.io/geonnave/hax bash -e -c "\
cd edhoc-rs
cargo-hax -C -p edhoc-rs -p edhoc-crypto -p edhoc-ead-none --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"
cargo-hax -C -p edhoc-rs -p edhoc-crypto -p edhoc-ead-none --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 29e66ea

Please sign in to comment.