Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
51b1966
Update the nightly tests to run the latest published version of npm p…
cypriansakwa Jul 28, 2025
b47fb11
Combine npm-check-updates install and upgrade steps into a single step
cypriansakwa Jul 30, 2025
e7f9339
update bignum_example.yml
cypriansakwa Jul 30, 2025
92bba62
Resolve conflict
cypriansakwa Jul 30, 2025
f886c2b
update nightly CI to auto-upgrade Noir/Barretenberg dependencies
cypriansakwa Jul 31, 2025
12c6d1c
Update solidity-example.yml
cypriansakwa Aug 6, 2025
6b2a230
Update recursion.yml
cypriansakwa Aug 6, 2025
892722b
Update web-starter-playwright.yml
cypriansakwa Aug 6, 2025
59648d4
ci: auto-detect and install correct Barretenberg CLI version based on…
cypriansakwa Aug 7, 2025
4b8338d
ci: auto-detect and install correct Barretenberg CLI and matching JS …
cypriansakwa Aug 7, 2025
572a47a
Update recursion.yml
cypriansakwa Aug 14, 2025
cf53c7a
Update solidity-example.yml
cypriansakwa Aug 14, 2025
0b1669b
Update web-starter-playwright.yml
cypriansakwa Aug 14, 2025
b8f265d
Update recursion.yml
cypriansakwa Aug 15, 2025
e054358
Update solidity-example.yml
cypriansakwa Aug 15, 2025
13f8c71
Update web-starter-playwright.yml
cypriansakwa Aug 15, 2025
8c90dcb
Resolve bbup install conflicts: use master branch + PATH export
cypriansakwa Sep 2, 2025
591bdf3
Merge branch 'master' into update-nightly-tests
cypriansakwa Sep 2, 2025
c241688
Update solidity-example.yml
cypriansakwa Oct 7, 2025
af206a3
Merge branch 'master' into update-nightly-tests
cypriansakwa Oct 16, 2025
16001c1
Merge branch 'master' into update-nightly-tests
cypriansakwa Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 31 additions & 8 deletions .github/workflows/recursion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,50 @@ jobs:
with:
toolchain: stable

- name: Install bb
- name: Determine and install compatible Barretenberg CLI
id: install-bb
shell: bash
run: |
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
echo "PATH=$PATH:/home/runner/.bb" >> $GITHUB_ENV
sudo apt-get update && sudo apt-get install -y jq

- name: Run bbup
run: |
bbup
NOIR_VERSION=$(nargo --version | awk '{print $2}')
echo "Detected Noir version: $NOIR_VERSION"

curl -sL https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/bb-versions.json -o bb-versions.json
BB_VERSION=$(jq -r --arg v "$NOIR_VERSION" '.[$v]' bb-versions.json)

if [ "$BB_VERSION" = "null" ]; then
echo "No compatible bb version for Noir $NOIR_VERSION"
exit 1
fi

echo "Using Barretenberg version: $BB_VERSION"
curl -L "https://github.com/AztecProtocol/barretenberg/releases/download/v${BB_VERSION}/bb-linux" -o /usr/local/bin/bb
chmod +x /usr/local/bin/bb

echo "bb_version=$BB_VERSION" >> $GITHUB_OUTPUT
echo "noir_version=$NOIR_VERSION" >> $GITHUB_OUTPUT

bb --version

- name: Build circuits
run: |
./build.sh
working-directory: recursion/circuits


- name: Install matching @aztec/bb.js version
working-directory: recursion/js
run: |
BB_VERSION=${{ steps.install-bb.outputs.bb_version }}
yarn add @aztec/bb.js@$BB_VERSION --exact

- name: Install npm-check-updates and upgrade relevant dependencies
if: github.event_name == 'schedule'
working-directory: recursion/js
run: |
npm install -g npm-check-updates
ncu '/^(?:@noir-lang\/|barretenberg|@aztec\/)/' -u

- name: Install JS dependencies
working-directory: recursion/js
run: |
Expand Down
47 changes: 34 additions & 13 deletions .github/workflows/solidity-example.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# a github workflow that runs curl -L https://foundry.paradigm.xyz | bash then nargo codegen-verifier then nargo prove p

name: Run solidity-example Tests on PR
on:
pull_request:
Expand All @@ -25,20 +23,37 @@ jobs:
uses: noir-lang/[email protected]
with:
toolchain: stable

- name: Run Noir unit tests
working-directory: solidity-example/circuits
run: |
nargo test

- name: Install bb
- name: Determine and install compatible Barretenberg CLI
id: install-bb
shell: bash
run: |
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
echo "PATH=$PATH:/home/runner/.bb" >> $GITHUB_ENV
sudo apt-get update && sudo apt-get install -y jq

NOIR_VERSION=$(nargo --version | awk '{print $2}')
echo "Detected Noir version: $NOIR_VERSION"

curl -sL https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/bb-versions.json -o bb-versions.json
BB_VERSION=$(jq -r --arg v "$NOIR_VERSION" '.[$v]' bb-versions.json)

if [ "$BB_VERSION" = "null" ]; then
echo "No compatible bb version for Noir $NOIR_VERSION"
exit 1
fi

echo "Using Barretenberg version: $BB_VERSION"
curl -L "https://github.com/AztecProtocol/barretenberg/releases/download/v${BB_VERSION}/bb-linux" -o /usr/local/bin/bb
chmod +x /usr/local/bin/bb

- name: Run bbup
echo "bb_version=$BB_VERSION" >> $GITHUB_OUTPUT
echo "noir_version=$NOIR_VERSION" >> $GITHUB_OUTPUT

bb --version

- name: Run Noir unit tests
working-directory: solidity-example/circuits
run: |
bbup
nargo test

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -47,7 +62,13 @@ jobs:
run: |
./build.sh
working-directory: solidity-example/circuits


- name: Install matching @aztec/bb.js version
working-directory: solidity-example/js
run: |
BB_VERSION=${{ steps.install-bb.outputs.bb_version }}
yarn add @aztec/bb.js@$BB_VERSION --exact

- name: Install npm-check-updates and upgrade dependencies
if: github.event_name == 'schedule'
working-directory: solidity-example/js
Expand Down
49 changes: 42 additions & 7 deletions .github/workflows/web-starter-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,31 @@ jobs:
with:
toolchain: stable

- name: Install bb
- name: Determine and install compatible Barretenberg CLI
id: install-bb
shell: bash
run: |
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
echo "PATH=$PATH:/home/runner/.bb" >> $GITHUB_ENV
sudo apt-get update && sudo apt-get install -y jq

- name: Run bbup
run: |
bbup
NOIR_VERSION=$(nargo --version | awk '{print $2}')
echo "Detected Noir version: $NOIR_VERSION"

curl -sL https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/bb-versions.json -o bb-versions.json
BB_VERSION=$(jq -r --arg v "$NOIR_VERSION" '.[$v]' bb-versions.json)

if [ "$BB_VERSION" = "null" ]; then
echo "No compatible bb version for Noir $NOIR_VERSION"
exit 1
fi

echo "Using Barretenberg version: $BB_VERSION"
curl -L "https://github.com/AztecProtocol/barretenberg/releases/download/v${BB_VERSION}/bb-linux" -o /usr/local/bin/bb
chmod +x /usr/local/bin/bb

echo "bb_version=$BB_VERSION" >> $GITHUB_OUTPUT
echo "noir_version=$NOIR_VERSION" >> $GITHUB_OUTPUT

bb --version

- name: Build circuits
run: |
Expand All @@ -39,6 +56,12 @@ jobs:
with:
node-version: lts/*

- name: Install matching @aztec/bb.js version (vite)
working-directory: web-starter/web/vite
run: |
BB_VERSION=${{ steps.install-bb.outputs.bb_version }}
yarn add @aztec/bb.js@$BB_VERSION --exact

- name: Install npm-check-updates and upgrade dependencies (vite)
if: github.event_name == 'schedule'
working-directory: web-starter/web/vite
Expand All @@ -61,6 +84,12 @@ jobs:
run: |
yarn test:e2e

- name: Install matching @aztec/bb.js version (webpack)
working-directory: web-starter/web/webpack
run: |
BB_VERSION=${{ steps.install-bb.outputs.bb_version }}
yarn add @aztec/bb.js@$BB_VERSION --exact

- name: Install npm-check-updates and upgrade dependencies (webpack)
if: github.event_name == 'schedule'
working-directory: web-starter/web/webpack
Expand All @@ -82,7 +111,13 @@ jobs:
working-directory: web-starter/web/webpack
run: |
yarn test:e2e


- name: Install matching @aztec/bb.js version (nextjs)
working-directory: web-starter/web/nextjs
run: |
BB_VERSION=${{ steps.install-bb.outputs.bb_version }}
yarn add @aztec/bb.js@$BB_VERSION --exact

- name: Install npm-check-updates and upgrade dependencies (nextjs)
if: github.event_name == 'schedule'
working-directory: web-starter/web/nextjs
Expand Down