-
Notifications
You must be signed in to change notification settings - Fork 213
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/export-ts-solvers
* master: (31 commits) fix: Conditionally run the "Create or Update PR" step in acir artifacts rebuild workflow (#2849) fix: lack of cjs package version (#2848) chore: delete unnecessary nix files (#2840) chore!: `generateWitness` now returns a serialized witness file (#2842) chore: fix `acvm_js` linting and tests (#2834) feat: remove redundant predicate from brillig quotients (#2784) chore: Fix dependencies in acvm_js and remove local lock file (#2833) chore: add acvm_js to integration build chore: update discord link (#2831) chore: discard changes in nargo directory chore: Update ACIR artifacts (#2810) chore: yarn install chore: Remove acvm tracking workflow (#2829) add acvm_js to workspace - remove acvm-eslint - rename acvm-test to acvm-js-test chore: delete acvm-release workflow chore: merge flake.nix files and remove inner workspace (#2826) chore(ci): remove stale job steps (#2816) chore(ci): ensure that the artifact rebuilding PR will run CI (#2824) feat(traits): Implement trait bounds typechecker + monomorphizer passes (#2717) ...
- Loading branch information
Showing
136 changed files
with
1,821 additions
and
9,581 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -25,12 +25,10 @@ jobs: | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
|
||
- name: Build acvm-js | ||
working-directory: acvm-repo | ||
run: | | ||
nix build .# | ||
nix build -L .#acvm_js | ||
- name: Dereference symlink | ||
working-directory: acvm-repo | ||
run: echo "UPLOAD_PATH=$(readlink -f result)" >> $GITHUB_ENV | ||
|
||
- name: Upload artifact | ||
|
@@ -57,14 +55,9 @@ jobs: | |
|
||
- name: Set up test environment | ||
uses: ./.github/actions/setup | ||
with: | ||
working-directory: ./acvm-repo/acvm_js | ||
|
||
- name: Run node tests | ||
working-directory: ./acvm-repo/acvm_js | ||
run: | | ||
yarn | ||
yarn test | ||
run: yarn workspace @noir-lang/acvm_js test | ||
|
||
test-acvm_js-browser: | ||
needs: [build-acvm-js-package] | ||
|
@@ -83,38 +76,12 @@ jobs: | |
|
||
- name: Set up test environment | ||
uses: ./.github/actions/setup | ||
with: | ||
working-directory: ./acvm-repo/acvm_js | ||
|
||
- name: Install playwright deps | ||
working-directory: ./acvm-repo/acvm_js | ||
run: | | ||
npx playwright install | ||
npx playwright install-deps | ||
- name: Run browser tests | ||
working-directory: ./acvm-repo/acvm_js | ||
run: | | ||
yarn | ||
yarn test:browser | ||
test-acvm_js-rust: | ||
name: Rust Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup toolchain | ||
uses: dtolnay/[email protected] | ||
with: | ||
targets: wasm32-unknown-unknown | ||
|
||
- uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
|
||
- name: Run rust tests | ||
working-directory: acvm-repo | ||
run: cargo test | ||
run: yarn workspace @noir-lang/acvm_js test:browser |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -62,19 +62,25 @@ jobs: | |
- name: Set up Git user (Github Action) | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git config --local user.name kevaundray | ||
git config --local user.email [email protected] | ||
- name: Run rebuild script | ||
working-directory: tooling/nargo_cli/tests | ||
run: | | ||
chmod +x ./rebuild.sh | ||
./rebuild.sh | ||
- name: Check for changes in acir_artifacts directory | ||
id: check_changes | ||
run: | | ||
git diff --quiet tooling/nargo_cli/tests/acir_artifacts/ || echo "::set-output name=changes::true" | ||
- name: Create or Update PR | ||
if: steps.check_changes.outputs.changes == 'true' | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.NOIR_REPO_TOKEN }} | ||
commit-message: "chore: update acir artifacts" | ||
title: "chore: Update ACIR artifacts" | ||
body: "Automatic PR to update acir artifacts" | ||
|
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.