Skip to content

Commit 876b55e

Browse files
authored
Merge pull request #2094 from cryspen/fix-ci-aeneas-cache
ci: use Aeneas's olean cache
2 parents f2f2cb0 + 9c8dd8a commit 876b55e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/core_models.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ jobs:
205205

206206
# ---- The actual pipeline ------------------------------------------
207207
- name: Extract Lean library, build Lean library, run regression tests
208-
run: make CHARON=$AENEAS_DIR/charon/bin/charon AENEAS=$AENEAS_DIR/bin/aeneas lean tests
208+
run: |
209+
unset CI # Allows us to use Aeneas's olean cache
210+
make CHARON=$AENEAS_DIR/charon/bin/charon AENEAS=$AENEAS_DIR/bin/aeneas lean tests
209211
210212
# ---- Enforce that committed extraction matches re-extraction ------
211213
# If this fails: someone changed Rust source / patcher without

.github/workflows/verify_extraction.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979

8080
- name: Build the example
8181
run: |
82+
unset CI # Allows us to use Aeneas's olean cache
8283
cd examples/${{ matrix.example }}
8384
PATH="$HOME/.cargo/bin:$PATH" nix develop ..#ci-examples --command make clean
8485
PATH="$HOME/.cargo/bin:$PATH" nix develop ..#ci-examples --command make

0 commit comments

Comments
 (0)