Skip to content

Commit 3a2ae02

Browse files
authored
feat: Add ci-barretenberg-full CI mode (#19152)
## Summary - Adds a new `ci-barretenberg-full` CI mode triggered by the `ci-barretenberg-full` label - Runs the full `barretenberg/bootstrap.sh ci` instead of just `barretenberg/cpp/bootstrap.sh ci` - This builds and tests all barretenberg components: cpp, ts, rust, acir_tests, sol, and docs ## Test plan - [ ] Merge this PR first (using `ci-full` or default mode) - [ ] On subsequent PRs, use the `ci-barretenberg-full` label to trigger full barretenberg CI
2 parents e9b7795 + 7bec281 commit 3a2ae02

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/ci3.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function determine_ci_mode {
7676
CI_MODE="docs"
7777
elif has_label "ci-barretenberg" || [ "${TARGET_BRANCH:-}" == "merge-train/barretenberg" ]; then
7878
CI_MODE="barretenberg"
79+
elif has_label "ci-barretenberg-full"; then
80+
CI_MODE="barretenberg-full"
7981
# We don't distinguish nightlies currently.
8082
# elif [[ "${GITHUB_REF:-}" == *"-nightly."* ]] || [[ "${GITHUB_REF:-}" == *"-rc."* ]]; then
8183
# CI_MODE="nightly"

barretenberg/bootstrap.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ case "$cmd" in
2525
hash)
2626
hash
2727
;;
28-
""|clean|ci|test|test_cmds|bench|bench_cmds|release)
28+
""|clean|test|test_cmds|bench|bench_cmds|release)
2929
bootstrap_all $@
3030
;;
31+
ci)
32+
bootstrap_all
33+
bootstrap_all test
34+
;;
3135
"release-preview")
3236
./docs/bootstrap.sh release-preview
3337
;;

bootstrap.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,13 @@ case "$cmd" in
592592
export AVM_TRANSPILER=0
593593
barretenberg/cpp/bootstrap.sh ci
594594
;;
595+
"ci-barretenberg-full")
596+
export CI=1
597+
export USE_TEST_CACHE=1
598+
export AVM=0
599+
export AVM_TRANSPILER=0
600+
barretenberg/bootstrap.sh ci
601+
;;
595602
"ci-avm-inputs-collection")
596603
# Nightly job: Run e2e tests with AVM circuit inputs dumping, upload to cache
597604
export CI=1

0 commit comments

Comments
 (0)