Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): run noir tests in parallel to building e2e tests #9977

Merged
merged 2 commits into from
Nov 15, 2024
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
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ jobs:
run: earthly-ci --no-output ./+barretenberg-acir-tests-bb.js

noir-format:
needs: [build, configure]
needs: [build-images, configure]
runs-on: ${{ needs.configure.outputs.username }}-x86
if: needs.configure.outputs.noir == 'true' || needs.configure.outputs.noir-projects == 'true'
steps:
Expand All @@ -524,7 +524,7 @@ jobs:
earthly-ci --no-output ./+format

noir-test:
needs: [build, configure]
needs: [build-images, configure]
runs-on: ${{ needs.configure.outputs.username }}-x86
if: needs.configure.outputs.noir == 'true'
steps:
Expand All @@ -537,6 +537,7 @@ jobs:
run: earthly-ci --no-output ./noir+test

noir-examples:
# We delay this job until after the `build` job has completed as it depends on bb being built.
needs: [build, configure]
runs-on: ${{ needs.configure.outputs.username }}-x86
if: needs.configure.outputs.noir == 'true'
Expand All @@ -550,6 +551,7 @@ jobs:
run: earthly-ci --no-output ./noir+examples

noir-packages-test:
# We delay this job until after the `build` job has completed as it depends on bb.js being built.
needs: [build, configure]
runs-on: ${{ needs.configure.outputs.username }}-x86
if: needs.configure.outputs.barretenberg == 'true' || needs.configure.outputs.noir == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ We can now use `nargo` to generate a _Prover.toml_ file, where our input values
```sh
cd hello_world
nargo check
```

Let's feed some valid values into this file:

Expand All @@ -87,7 +88,7 @@ The command also automatically compiles your Noir program if it was not already
With circuit compiled and witness generated, we're ready to prove.

## Proving backend

Different proving backends may provide different tools and commands to work with Noir programs. Here Barretenberg's `bb` CLI tool is used as an example:

```sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ We can now use `nargo` to generate a _Prover.toml_ file, where our input values
```sh
cd hello_world
nargo check
```

Let's feed some valid values into this file:

Expand All @@ -87,7 +88,7 @@ The command also automatically compiles your Noir program if it was not already
With circuit compiled and witness generated, we're ready to prove.

## Proving backend

Different proving backends may provide different tools and commands to work with Noir programs. Here Barretenberg's `bb` CLI tool is used as an example:

```sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ We can now use `nargo` to generate a _Prover.toml_ file, where our input values
```sh
cd hello_world
nargo check
```

Let's feed some valid values into this file:

Expand All @@ -89,7 +90,7 @@ The command also automatically compiles your Noir program if it was not already
With circuit compiled and witness generated, we're ready to prove.

## Proving backend

Different proving backends may provide different tools and commands to work with Noir programs. Here Barretenberg's `bb` CLI tool is used as an example:

```sh
Expand Down
Loading