Skip to content

Commit

Permalink
Debug hax ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzcf committed Nov 24, 2023
1 parent 48c942d commit ea870ce
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/hax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ jobs:
curl -L https://github.com/FStarLang/FStar/releases/download/v2023.09.03/fstar_2023.09.03_Linux_x86_64.tar.gz \
--output Fstar.tar.gz
tar --extract --file Fstar.tar.gz
mv fstar Fstar
ls /home/runner/work
ls /home/runner/work/libcrux/libcrux/../hax/proof-libs/fstar/../../../
false
- name: ⤵ Clone HACL-star repository
uses: actions/checkout@v4
with:
repository: hacl-star/hacl-star
path: hacl-star

- name: ⤵ Clone hax repository
uses: actions/checkout@v4
Expand All @@ -65,7 +67,7 @@ jobs:
eval $(opam env)
./hax-driver.py --kyber-reference
# Extract the functions in the compress module individually to test
# the function-extraction code.
# the function-extraction code.
# Extract functions from the remaining modules to test the
# module-extraction code.
./hax-driver.py --crate-path specs/kyber \
Expand All @@ -81,4 +83,11 @@ jobs:
sampling \
serialize \
--exclude-modules libcrux::hacl::sha3 libcrux::digest
./hax-driver.py typecheck --admit
- name: 🏃🏻‍ Lax typecheck the extraction
run:
env FSTAR_HOME=${{ github.workspace }}/fstar \
HACL_HOME=${{ github.workspace }}/hacl-star \
HAX_LIBS_HOME=${{ github.workspace }}/hax/proof-libs/fstar \
PATH="${PATH}:${{ github.workspace }}/fstar/bin" \
./hax-driver.py typecheck --admit

0 comments on commit ea870ce

Please sign in to comment.