Skip to content

Commit 418e86c

Browse files
Lef IoannidisCopilot
andcommitted
CI: add Eurydice build+test job
Builds and tests Eurydice against the current Karamel commit using nix. Uses --override-input to point Eurydice's karamel flake input at the PR branch, catching extraction regressions in downstream projects. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent aeb42bd commit 418e86c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,20 @@ jobs:
304304
export OCAMLRUNPARAM=b
305305
make -kj$(nproc) test-pulse
306306
307+
test-eurydice:
308+
runs-on: ubuntu-latest
309+
steps:
310+
- uses: actions/checkout@master
311+
312+
- name: Install Nix
313+
uses: DeterminateSystems/nix-installer-action@main
314+
315+
- name: Build and test Eurydice against this Karamel
316+
run: |
317+
nix build -L --no-link \
318+
"github:AeneasVerif/eurydice#checks.x86_64-linux.default" \
319+
--override-input karamel "github:FStarLang/karamel/$GITHUB_SHA"
320+
307321
# A single no-op job to use for branch protection
308322
ciok:
309323
runs-on: ubuntu-latest
@@ -312,6 +326,7 @@ jobs:
312326
- build-and-test
313327
- build-and-test-pulse
314328
- build-krmllib
329+
- test-eurydice
315330
steps:
316331
# Note: this only runs when a dependency fails. If they all succeed,
317332
# this jobs is skipped, which counts as a success.

0 commit comments

Comments
 (0)