-
Notifications
You must be signed in to change notification settings - Fork 223
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/track-bb-witness-equivalence
* master: (124 commits) chore: add env var for test updates in nargo_fmt (#3638) chore: remove unnecessary conversions from `add_constant` (#3651) feat: Complex slice inputs for dynamic slice builtins (#3617) feat: Add `FieldElement::from<usize>` implementation (#3647) chore: fix relative paths in reease please (#3646) chore: add integration test for verifying a recursive proof onchain (#3167) chore: adding docs to release please (#3571) chore(ci): Fix publishing of ACVM crates (#3645) chore(docs): address visibility issues in docs (#3643) chore: type formatting (#3618) fix: Restrict fill_internal_slices pass to acir functions (#3634) chore(docs): docs for v0.19.4 (#3601) feat: aztec-packages (#3626) chore: Move tests to the correct root (#3633) feat: Implement integer printing (#3577) fix: corrected the formatting of error message parameters in index out of bounds error (#3630) chore: Update ACIR artifacts (#3619) chore(debugger): Run debugger REPL in thread (#3611) chore: remove deprecated method (#3625) feat: Implement raw string literals (#3556) ...
- Loading branch information
Showing
2,190 changed files
with
47,684 additions
and
12,817 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Dockerfile* | ||
.dockerignore | ||
|
||
packages | ||
**/package.tgz | ||
**/target | ||
**/node_modules | ||
**/outputs | ||
|
||
# Source resolver | ||
compiler/source-resolver/lib | ||
compiler/source-resolver/lib-node | ||
|
||
# Noir.js | ||
tooling/noir_js/lib | ||
|
||
# Wasm build artifacts | ||
compiler/wasm/nodejs | ||
compiler/wasm/web | ||
tooling/noirc_abi_wasm/nodejs | ||
tooling/noirc_abi_wasm/web | ||
tooling/noir_js/lib |
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 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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: Deploy preview for PR | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
add_label: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
has_label: ${{ steps.check-labels.outputs.result }} | ||
steps: | ||
- name: Check if label is present | ||
id: check-labels | ||
uses: actions/github-script@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const labels = context.payload.pull_request.labels.map(label => label.name); | ||
if (labels.includes('documentation')) { | ||
return true; | ||
} | ||
// Fetch the list of files changed in the PR | ||
const { data: files } = await github.pulls.listFiles({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: context.issue.number | ||
}); | ||
// Check if any file is within the 'docs' folder | ||
const docsChanged = files.some(file => file.filename.startsWith('docs/')); | ||
return docsChanged; | ||
- name: Add label if not present | ||
if: steps.check-labels.outputs.result == 'true' | ||
uses: actions/github-script@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const labels = context.payload.pull_request.labels.map(label => label.name); | ||
if (!labels.includes('documentation')) { | ||
github.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
labels: ['documentation'] | ||
}) | ||
} | ||
build_and_deploy_preview: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
needs: add_label | ||
if: needs.add_label.outputs.has_label == 'true' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install wasm-bindgen-cli | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: wasm-bindgen-cli@0.2.86 | ||
|
||
- name: Install wasm-opt | ||
run: | | ||
npm i wasm-opt -g | ||
- name: Install Yarn dependencies | ||
uses: ./.github/actions/setup | ||
|
||
- name: Build docs | ||
working-directory: docs | ||
run: | ||
yarn workspaces foreach -Rt run build | ||
|
||
- name: Deploy to Netlify | ||
uses: nwtgck/actions-netlify@v2.1 | ||
with: | ||
publish-dir: './docs/build' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
enable-github-deployment: false | ||
deploy-message: "Deploy from GitHub Actions for PR ${{ github.event.number }}" | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
timeout-minutes: 1 |
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.