File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Extract and lax-check libcrux ML-DSA
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+ workflow_dispatch :
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ jobs :
12
+ extract-and-lax-mldsa :
13
+ runs-on : " ubuntu-latest"
14
+
15
+ steps :
16
+ - name : ⤵ Clone Libcrux repository
17
+ uses : actions/checkout@v4
18
+ with :
19
+ repository : cryspen/libcrux
20
+ path : libcrux
21
+
22
+ - uses : actions/checkout@v4
23
+ with :
24
+ path : hax
25
+
26
+ - name : Use local hax-lib
27
+ working-directory : libcrux
28
+ run : |
29
+ cargo remove hax-lib -v -p libcrux-ml-dsa
30
+ cargo add hax-lib --path "../hax/hax-lib" -v -p libcrux-ml-dsa
31
+
32
+ - uses : DeterminateSystems/nix-installer-action@main
33
+ - name : Set up Cachix
34
+ uses : cachix/cachix-action@v15
35
+ with :
36
+ name : fstar-nix-versions
37
+ push : false
38
+
39
+ - name : ⤵ Install hax
40
+ run : |
41
+ nix profile install ./hax
42
+
43
+ - name : ⤵ Install FStar
44
+ run : nix profile install github:FStarLang/FStar/v2025.03.25
45
+
46
+ - name : 🏃 Extract ML-DSA crate
47
+ working-directory : libcrux/libcrux-ml-dsa
48
+ run : ./hax.py extract
49
+
50
+ - name : 🏃 Lax ML-DSA crate
51
+ working-directory : libcrux/libcrux-ml-dsa
52
+ run : |
53
+ env FSTAR_HOME=${{ github.workspace }}/fstar \
54
+ HAX_HOME=${{ github.workspace }}/hax \
55
+ PATH="${PATH}:${{ github.workspace }}/fstar/bin" \
56
+ ./hax.py prove --admit
You can’t perform that action at this time.
0 commit comments