Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .noir-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5a3d2bc0e13a12b039c793c73d7817924c13e159
c30bcd7e753d835442187bb27a6c14231041ed77
24 changes: 0 additions & 24 deletions noir/noir-repo/.eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions noir/noir-repo/.github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ runs:
- uses: actions/setup-node@v4
id: node
with:
node-version: 18.19.0
node-version: 20.18.3
cache: 'yarn'
cache-dependency-path: 'yarn.lock'

- name: Install
run: yarn --immutable
shell: bash
4 changes: 2 additions & 2 deletions noir/noir-repo/.github/benchmark_projects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define: &AZ_COMMIT 3b981f9217f9b859bdfbcdba2f5c080392c98da6
define: &AZ_COMMIT b764a9a48a19c4803671876f9df8b7af53fe3e49
projects:
private-kernel-inner:
repo: AztecProtocol/aztec-packages
Expand All @@ -15,7 +15,7 @@ projects:
path: noir-projects/noir-protocol-circuits/crates/private-kernel-tail
num_runs: 5
timeout: 4
compilation-timeout: 1.2
compilation-timeout: 1.5
execution-timeout: 0.04
compilation-memory-limit: 250
execution-memory-limit: 230
Expand Down
4 changes: 2 additions & 2 deletions noir/noir-repo/.github/workflows/publish-nargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
cargo build --package nargo_cli --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
cargo build --package noir_profiler --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
cargo build --package noir_inspector --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -237,5 +239,3 @@ jobs:
make_latest: false
overwrite: true
tag: ${{ format('{0}-{1}', 'nightly', steps.date.outputs.date) }}


2 changes: 1 addition & 1 deletion noir/noir-repo/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18.19.0
node-version: 20.18.3
cache: 'yarn'
cache-dependency-path: 'yarn.lock'

Expand Down
10 changes: 6 additions & 4 deletions noir/noir-repo/.github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:

- name: Build Nargo
run: cargo build --package nargo_cli --release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -305,7 +307,7 @@ jobs:
repository: ${{ matrix.repo }}
path: test-repo
ref: ${{ matrix.ref }}

- name: Fetch noir dependencies
working-directory: ./test-repo/${{ matrix.path }}
run: |
Expand Down Expand Up @@ -341,7 +343,7 @@ jobs:
path: ${{ steps.compilation_report.outputs.report_path }}
retention-days: 3
overwrite: true

- name: Generate execution report
id: execution_report
working-directory: ./test-repo/${{ matrix.path }}
Expand All @@ -359,7 +361,7 @@ jobs:

echo "report_name=$REPORT_NAME" >> $GITHUB_OUTPUT
echo "report_path=$REPORT_PATH" >> $GITHUB_OUTPUT

- name: Upload execution report
if: ${{ !matrix.cannot_execute }}
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -716,7 +718,7 @@ jobs:
- upload_compilation_memory_report
- upload_execution_report
- upload_execution_memory_report

steps:
- name: Report overall success
run: |
Expand Down
78 changes: 78 additions & 0 deletions noir/noir-repo/.github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Publish rustdoc

on:
push:
branches:
- master

# This will cancel previous runs when a branch or PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Rust
uses: dtolnay/rust-toolchain@1.85.0

- name: Configure cache
uses: Swatinem/rust-cache@v2

- name: Setup pages
id: pages
uses: actions/configure-pages@v5

- name: Clean docs folder
run: cargo clean --doc

- name: Build docs
run: cargo doc --no-deps --document-private-items --workspace

- name: Add redirect
run: echo '<meta http-equiv="refresh" content="0;url=nargo/index.html">' > target/doc/index.html

- name: Remove lock file
run: rm target/doc/.lock

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rustdoc
path: target/doc

deploy:
name: Deploy
runs-on: ubuntu-22.04
needs: build
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages

- name: Clear old docs
run: rm -rf ./docs

- name: Download rustdoc output
uses: actions/download-artifact@v4
with:
name: rustdoc
path: ./docs

- name: Configure git
run: |
git config --global user.name "rustdoc"
git config --global user.email "github@users.noreply.github.com"

- name: Commit new docs
run: |
# This could _potentially_ clash with pushing benchmarks to this branch at the same time.
# In practice, this will complete much sooner than the benchmarks are generated.
git add ./docs/*
git commit -m "update rustdoc"
git push
12 changes: 7 additions & 5 deletions noir/noir-repo/.github/workflows/test-js-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:

- name: Build Nargo
run: cargo build --package nargo_cli --release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package artifacts
run: |
Expand Down Expand Up @@ -436,7 +438,7 @@ jobs:
run: |
# Note the lack of spaces between package names.
PACKAGES_TO_BUILD="@noir-lang/types,@noir-lang/noir_js"
yarn workspaces foreach -vtp --from "{$PACKAGES_TO_BUILD}" run build
yarn workspaces foreach -Wvtp --from "{$PACKAGES_TO_BUILD}" run build

- name: Run `integration-tests`
working-directory: ./compiler/integration-tests
Expand Down Expand Up @@ -481,7 +483,7 @@ jobs:
run: |
# Note the lack of spaces between package names.
PACKAGES_TO_BUILD="@noir-lang/types,@noir-lang/noir_js"
yarn workspaces foreach -vtp --from "{$PACKAGES_TO_BUILD}" run build
yarn workspaces foreach -Wvtp --from "{$PACKAGES_TO_BUILD}" run build

- name: Run `integration-tests`
working-directory: ./compiler/integration-tests
Expand Down Expand Up @@ -519,8 +521,8 @@ jobs:
working-directory: ./examples/prove_and_verify
run: ./test.sh

- name: Run `codegen_verifier`
working-directory: ./examples/codegen_verifier
- name: Run `solidity_verifier`
working-directory: ./examples/solidity_verifier
run: ./test.sh

- name: Run `oracle_transcript`
Expand All @@ -535,7 +537,7 @@ jobs:
fail-fast: false
matrix:
include: ${{ fromJson( needs.critical-library-list.outputs.libraries )}}

name: Check external repo - ${{ matrix.repo }}/${{ matrix.path }}
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions noir/noir-repo/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.18.3
541 changes: 0 additions & 541 deletions noir/noir-repo/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions noir/noir-repo/.yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions noir/noir-repo/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions noir/noir-repo/.yarn/releases/yarn-3.6.3.cjs

This file was deleted.

Loading