Skip to content

Commit ed5a4a5

Browse files
critesjoshclaude
andcommitted
Fix CI: use ulimit -s unlimited instead of RUST_MIN_STACK
RUST_MIN_STACK is not respected by the pre-compiled nargo binary. Use ulimit -s unlimited to raise the OS stack size limit before running aztec compile/test commands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1a24a9d commit ed5a4a5

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/note-send-proof-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868

6969
- name: Compile contract and generate artifacts
7070
working-directory: note-send-proof
71-
env:
72-
RUST_MIN_STACK: "8388608"
73-
run: script -e -c "yarn ccc"
71+
run: |
72+
ulimit -s unlimited
73+
script -e -c "yarn ccc"
7474
7575
- name: Generate note hash data
7676
working-directory: note-send-proof

.github/workflows/prediction-market-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,15 @@ jobs:
7070

7171
- name: Run Noir unit tests
7272
working-directory: prediction-market
73-
env:
74-
RUST_MIN_STACK: "8388608"
75-
run: script -e -c "aztec test"
73+
run: |
74+
ulimit -s unlimited
75+
script -e -c "aztec test"
7676
timeout-minutes: 10
7777

7878
- name: Compile contract and generate artifacts
7979
working-directory: prediction-market
80-
env:
81-
RUST_MIN_STACK: "8388608"
8280
run: |
81+
ulimit -s unlimited
8382
script -e -c "aztec compile"
8483
script -e -c "aztec codegen target -o artifacts"
8584

.github/workflows/recursive-verification-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ jobs:
7979

8080
- name: Compile contract and generate artifacts
8181
working-directory: recursive_verification
82-
env:
83-
RUST_MIN_STACK: "8388608"
84-
run: script -e -c "yarn ccc"
82+
run: |
83+
ulimit -s unlimited
84+
script -e -c "yarn ccc"
8585
8686
- name: Generate proof data
8787
working-directory: recursive_verification

0 commit comments

Comments
 (0)