forked from visoftsolutions/noir_rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: git subrepo pull (merge) noir (AztecProtocol#4252)
subrepo: subdir: "noir" merged: "52fc0778e" upstream: origin: "https://github.com/noir-lang/noir" branch: "aztec-packages" commit: "52fc0778e" git-subrepo: version: "0.4.6" origin: "???" commit: "???" Please read [contributing guidelines](CONTRIBUTING.md) and remove this line. --------- Co-authored-by: sirasistant <[email protected]>
- Loading branch information
1 parent
e46b865
commit 80be57d
Showing
291 changed files
with
11,170 additions
and
1,573 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...ithub/ISSUE_TEMPLATE/idea_action_plan.yml → ...github/ISSUE_TEMPLATE/feature_request.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash | ||
cargo-binstall wasm-bindgen-cli --version 0.2.86 -y | ||
# TODO call this script directly | ||
./scripts/install_wasm-bindgen.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,15 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup toolchain | ||
uses: dtolnay/[email protected] | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: x86_64-unknown-linux-gnu | ||
cache-on-failure: false | ||
save-if: false | ||
|
||
- name: Install Yarn dependencies | ||
uses: ./.github/actions/setup | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ on: | |
run-name: Publish ES Packages from ${{ inputs.noir-ref }} under @${{ inputs.npm-tag }} tag. | ||
|
||
jobs: | ||
build-noir_wasm: | ||
build-noirc_abi_wasm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
|
@@ -32,40 +32,52 @@ jobs: | |
|
||
- name: Build wasm package | ||
run: | | ||
nix build -L .#noir_wasm | ||
nix build -L .#noirc_abi_wasm | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: noir_wasm | ||
name: noirc_abi_wasm | ||
path: | | ||
result/noir_wasm/nodejs | ||
result/noir_wasm/web | ||
result/noirc_abi_wasm/nodejs | ||
result/noirc_abi_wasm/web | ||
build-noirc_abi_wasm: | ||
build-noir_wasm: | ||
needs: [build-noirc_abi_wasm] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.noir-ref }} | ||
|
||
- name: Setup Nix | ||
uses: ./.github/actions/nix | ||
- name: Setup toolchain | ||
uses: dtolnay/[email protected] | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
nix-cache-name: "noir" | ||
cachix-auth-token: ${{ secrets.CACHIXAUTHTOKEN }} | ||
|
||
- name: Build wasm package | ||
run: | | ||
nix build -L .#noirc_abi_wasm | ||
key: noir-wasm | ||
save-if: false | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- name: Download noirc_abi_wasm package artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: noirc_abi_wasm | ||
path: ./tooling/noirc_abi_wasm | ||
|
||
- name: Install Yarn dependencies | ||
uses: ./.github/actions/setup | ||
|
||
- name: Build noir_wasm | ||
run: yarn workspace @noir-lang/noir_wasm build | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: noir_wasm | ||
path: | | ||
result/noirc_abi_wasm/nodejs | ||
result/noirc_abi_wasm/web | ||
./compiler/wasm/dist | ||
./compiler/wasm/build | ||
retention-days: 3 | ||
|
||
build-acvm_js: | ||
runs-on: ubuntu-latest | ||
|
@@ -97,7 +109,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build-acvm_js, build-noirc_abi_wasm, build-noir_wasm] | ||
steps: | ||
|
||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -107,10 +118,12 @@ jobs: | |
with: | ||
name: acvm_js | ||
path: acvm-repo/acvm_js | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: noir_wasm | ||
path: compiler/wasm | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: noirc_abi_wasm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.