64
64
65
65
- name : Build Nargo
66
66
run : cargo build --package nargo_cli --release
67
+ env :
68
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
69
68
70
- name : Package artifacts
69
71
run : |
78
80
path : ./dist/*
79
81
retention-days : 3
80
82
83
+ build-noir-execute :
84
+ runs-on : ubuntu-22.04
85
+ timeout-minutes : 30
86
+
87
+ steps :
88
+ - name : Checkout Noir repo
89
+ uses : actions/checkout@v4
90
+
91
+ - name : Setup toolchain
92
+ uses : dtolnay/rust-toolchain@1.85.0
93
+
94
+ - uses : Swatinem/rust-cache@v2
95
+ with :
96
+ key : x86_64-unknown-linux-gnu
97
+ cache-on-failure : true
98
+ save-if : ${{ github.event_name != 'merge_group' }}
99
+
100
+ - name : Build noir-execute
101
+ run : cargo build --package noir_artifact_cli --release
102
+
103
+ - name : Package artifacts
104
+ run : |
105
+ mkdir dist
106
+ cp ./target/release/noir-execute ./dist/noir-execute
107
+ 7z a -ttar -so -an ./dist/* | 7z a -si ./noir-execute-x86_64-unknown-linux-gnu.tar.gz
108
+
109
+ - name : Upload artifact
110
+ uses : actions/upload-artifact@v4
111
+ with :
112
+ name : noir-execute
113
+ path : ./dist/*
114
+ retention-days : 3
115
+
81
116
build-noirc-abi :
82
117
runs-on : ubuntu-22.04
83
118
timeout-minutes : 30
@@ -361,7 +396,7 @@ jobs:
361
396
362
397
test-integration-node :
363
398
name : Integration Tests (Node)
364
- runs-on : ubuntu-22 .04
399
+ runs-on : ubuntu-24 .04
365
400
needs : [build-acvm-js, build-noir-wasm, build-nargo, build-noirc-abi]
366
401
timeout-minutes : 30
367
402
@@ -373,6 +408,7 @@ jobs:
373
408
run : |
374
409
./scripts/install_bb.sh
375
410
echo "$HOME/.bb/" >> $GITHUB_PATH
411
+ sudo apt-get install libc6 libstdc++6 -y
376
412
377
413
- name : Download nargo binary
378
414
uses : ./.github/actions/download-nargo
@@ -456,8 +492,8 @@ jobs:
456
492
457
493
test-examples :
458
494
name : Example scripts
459
- runs-on : ubuntu-22 .04
460
- needs : [build-nargo]
495
+ runs-on : ubuntu-24 .04
496
+ needs : [build-nargo, build-noir-execute ]
461
497
timeout-minutes : 30
462
498
463
499
steps :
@@ -473,10 +509,14 @@ jobs:
473
509
run : |
474
510
./scripts/install_bb.sh
475
511
echo "$HOME/.bb/" >> $GITHUB_PATH
512
+ sudo apt-get install libc6 libstdc++6 -y
476
513
477
514
- name : Download nargo binary
478
515
uses : ./.github/actions/download-nargo
479
516
517
+ - name : Download noir-execute binary
518
+ uses : ./.github/actions/download-noir-execute
519
+
480
520
- name : Run `prove_and_verify`
481
521
working-directory : ./examples/prove_and_verify
482
522
run : ./test.sh
@@ -485,6 +525,10 @@ jobs:
485
525
working-directory : ./examples/codegen_verifier
486
526
run : ./test.sh
487
527
528
+ - name : Run `oracle_transcript`
529
+ working-directory : ./examples/oracle_transcript
530
+ run : ./test.sh
531
+
488
532
external-repo-checks :
489
533
needs : [build-nargo, critical-library-list]
490
534
runs-on : ubuntu-22.04
0 commit comments