Skip to content

Commit

Permalink
Merge branch 'main' of pro.github.com:aeneasverif/eurydice
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz committed Nov 19, 2024
2 parents 84563df + 5dd8ff3 commit 394c472
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 230 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ jobs:
- name: Build and test
run: nix flake check -L

check-charon-pin:
charon-pin-is-forward:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # deep clone in order to get access to other commits
- run: nix develop '.#ci' --command ./scripts/ci-check-charon-pin.sh
- run: nix develop '.#ci' --command ./scripts/ci-check-charon-pin-is-forward.sh

charon-pin-is-merged:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # deep clone in order to get access to other commits
- run: nix develop '.#ci' --command ./scripts/ci-check-charon-pin-is-merged.sh

kyber:
needs: [check]
Expand All @@ -31,7 +39,10 @@ jobs:
CHARON_REV="$(nix develop '.#ci' --command jq -r .nodes.charon.locked.rev flake.lock)"
KRML_REV="$(nix develop '.#ci' --command jq -r .nodes.karamel.locked.rev flake.lock)"
FSTAR_REV="$(nix develop '.#ci' --command jq -r .nodes.fstar.locked.rev flake.lock)"
nix build --refresh -L 'github:cryspen/libcrux#ml-kem' \
git clone https://github.com/cryspen/libcrux
cd libcrux
nix develop --command cargo generate-lockfile
nix build --refresh -L '.#ml-kem' \
--override-input eurydice github:aeneasverif/eurydice/${{ github.sha }} \
--override-input charon github:aeneasverif/charon/$CHARON_REV \
--override-input karamel github:FStarLang/karamel/$KRML_REV \
Expand All @@ -40,4 +51,5 @@ jobs:
--override-input eurydice/karamel github:FStarLang/karamel/$KRML_REV \
--override-input eurydice/fstar github:FStarLang/fstar/$FSTAR_REV \
--update-input charon/rust-overlay \
--update-input hax \
--update-input crane
99 changes: 18 additions & 81 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
karamel.url = "github:FStarLang/karamel";
fstar.url = "github:FStarLang/fstar";
fstar.follows = "karamel/fstar";

nixpkgs.follows = "karamel/nixpkgs";

Expand Down
Loading

0 comments on commit 394c472

Please sign in to comment.