Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
50 changes: 41 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
SUPPORT_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/e3-support
CIPHERNODE_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/ciphernode
NODE_VERSION: 22
RUST_TOOLCHAIN: 1.86.0
RUST_TOOLCHAIN: 1.91.1
NOIR_TOOLCHAIN: v1.0.0-beta.16
BB_VERSION: 3.0.0-nightly.20260102
HARDHAT_VAR_MNEMONIC: 'test test test test test test test test test test test junk'
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: pnpm-setup
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: pnpm-setup
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: pnpm-setup
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: 'Install the dependencies'
run: 'pnpm install --frozen-lockfile'
Expand Down Expand Up @@ -573,7 +573,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: Build enclave CLI
run: cargo install --locked --path crates/cli --bin enclave
Expand Down Expand Up @@ -635,7 +635,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: Install Nargo
if: matrix.test-suite == 'test:circuits'
Expand Down Expand Up @@ -721,7 +721,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: Install yq
run: |
Expand Down Expand Up @@ -809,6 +809,9 @@ jobs:
with:
toolchain: ${{ env.NOIR_TOOLCHAIN }}

- name: Install protoc
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler

- name: Cache Barretenberg binary
id: cache-bb
uses: actions/cache@v4
Expand Down Expand Up @@ -896,7 +899,7 @@ jobs:
run: |
sudo add-apt-repository ppa:ethereum/ethereum \
&& sudo apt-get update -y \
&& sudo apt-get install -y solc
&& sudo apt-get install -y solc protobuf-compiler

- name: Install Barretenberg (bb)
if: steps.cache-bb.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -968,6 +971,8 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- name: Install protoc
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler
- name: Build support scripts
run: cd templates/default && cargo build --locked --bin e3-support-scripts-dev
- name: Verify build artifacts
Expand Down Expand Up @@ -1016,12 +1021,24 @@ jobs:
toolchain: ${{ env.RUST_TOOLCHAIN }}
targets: wasm32-unknown-unknown

- name: Install protoc
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler

- name: Install node dependencies
run: pnpm install --frozen-lockfile

- name: Build the sdk
run: pnpm sdk:build

- name: Install Chrome for WASM browser smoke tests
uses: browser-actions/setup-chrome@v1
Comment thread
0xjei marked this conversation as resolved.

- name: WASM browser smoke test (e3-wasm)
run: |
cd crates/wasm
pnpm build
pnpm test:browser

- name: Run the tests
run: pnpm sdk:test

Expand Down Expand Up @@ -1072,13 +1089,25 @@ jobs:
toolchain: ${{ env.RUST_TOOLCHAIN }}
targets: wasm32-unknown-unknown

- name: Install protoc
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler

- name: Install node dependencies
run: pnpm install --frozen-lockfile

- name: Build the sdk
working-directory: ./examples/CRISP
run: pnpm build:sdk

- name: Install Chrome for WASM browser smoke tests
uses: browser-actions/setup-chrome@v1

- name: WASM browser smoke test (crisp-zk-inputs)
working-directory: ./examples/CRISP
run: |
pnpm -C packages/crisp-zk-inputs build
pnpm -C packages/crisp-zk-inputs test:browser

- name: Upload SDK artifacts
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -1118,6 +1147,9 @@ jobs:
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}

- name: Install protoc
run: sudo apt-get update -y && sudo apt-get install -y protobuf-compiler

- name: Install node dependencies
run: pnpm install --frozen-lockfile

Expand Down
Loading
Loading