Skip to content

Commit 5d24bb6

Browse files
authored
Merge pull request #1730 from cryspen/ml-dsa-nightly-ci
Add nightly CI job for ML-DSA lax-checking.
2 parents 6616a8c + aa0c6c0 commit 5d24bb6

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.github/workflows/mldsa.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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

0 commit comments

Comments
 (0)