-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tf/refactor-euclidean-division
- Loading branch information
Showing
421 changed files
with
13,641 additions
and
2,606 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.github/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,6 +1,4 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
./scripts/nargo_compile_noir_js_assert_lt.sh | ||
rm -rf /usr/src/noir/tooling/noir_js/test/noir_compiled_examples/assert_lt/target/debug_assert_lt.json | ||
yarn workspace @noir-lang/noir_js test | ||
yarn workspace @noir-lang/noir_js test |
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 |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
script: | | ||
const labels = context.payload.pull_request.labels.map(label => label.name); | ||
if (!labels.includes('documentation')) { | ||
github.issues.addLabels({ | ||
github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
|
@@ -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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
".": "0.22.0", | ||
"acvm-repo": "0.38.0" | ||
".": "0.23.0", | ||
"acvm-repo": "0.39.0" | ||
} |
Oops, something went wrong.