diff --git a/.github/workflows/circuits_profile.yaml b/.github/workflows/circuits_profile.yaml new file mode 100644 index 000000000..dd7510d0a --- /dev/null +++ b/.github/workflows/circuits_profile.yaml @@ -0,0 +1,27 @@ +name: circuit profiling + +on: [push] + +jobs: + test: + name: nargo info + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Nargo + uses: noir-lang/noirup@v0.1.3 + with: + toolchain: nightly-2024-01-11 # Pin at 0.23.0 when it's released. We need nightly now as 0.22.0 doesn't have the oracles + + - name: Run nargo info + run: nargo info --workspace --silence-warnings | tee profiling_info.txt + + - name: Archive profiling artifacts + uses: actions/upload-artifact@v4 + with: + name: profiling_info + path: | + profiling_info.txt diff --git a/.github/workflows/circuits_test.yaml b/.github/workflows/circuits_test.yaml index da0950a0d..6224f0a09 100644 --- a/.github/workflows/circuits_test.yaml +++ b/.github/workflows/circuits_test.yaml @@ -15,5 +15,6 @@ jobs: uses: noir-lang/noirup@v0.1.3 with: toolchain: nightly-2024-01-11 # Pin at 0.23.0 when it's released. We need nightly now as 0.22.0 doesn't have the oracles + - name: Run nargo test run: nargo test --workspace