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 commit (merge) noir (AztecProtocol#3955)
subrepo: subdir: "noir" merged: "6bdab5c1e4" upstream: origin: "https://github.com/noir-lang/noir" branch: "aztec-packages" commit: "75c83348e6" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" --------- Co-authored-by: ludamad <[email protected]> Co-authored-by: Tom French <[email protected]>
- Loading branch information
1 parent
2e4c9de
commit 2c2bc69
Showing
117 changed files
with
5,526 additions
and
722 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,11 @@ | ||
--- | ||
title: "Docs contains dead links" | ||
assignees: signorecello catmcgee critesjosh jzaki Savio-Sou | ||
labels: documentation | ||
--- | ||
|
||
Some of the external links in the docs are now dead. This is likely due to the thing being linked to being moved. | ||
|
||
Check the [Check Markdown links]({{env.WORKFLOW_URL}}) workflow for details. | ||
|
||
This issue was raised by the workflow `{{env.WORKFLOW_NAME}}` |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
.github/scripts/noirc-abi-build.sh | ||
|
||
.github/scripts/install_wasm-bindgen.sh | ||
yarn workspace @noir-lang/noir_wasm build | ||
yarn workspace @noir-lang/noir_wasm build |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Check Markdown links | ||
|
||
on: | ||
schedule: | ||
# Run a check at 9 AM UTC | ||
- cron: "0 9 * * *" | ||
|
||
# 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: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
use-quiet-mode: 'yes' | ||
config-file: ./docs/link-check.config.json | ||
folder-path: ./docs | ||
|
||
# Raise an issue if the previous step failed due to dead links being found | ||
- name: Alert on dead links | ||
uses: JasonEtco/create-an-issue@v2 | ||
if: ${{ failure() }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
WORKFLOW_NAME: ${{ github.workflow }} | ||
WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }} | ||
with: | ||
update_existing: true | ||
filename: .github/DEAD_LINKS_IN_DOCS.md |
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 |
---|---|---|
|
@@ -47,35 +47,42 @@ jobs: | |
retention-days: 3 | ||
|
||
build-noir-wasm: | ||
needs: [build-noirc-abi] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- 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 }} | ||
key: noir-wasm | ||
cache-on-failure: true | ||
save-if: ${{ github.event_name != 'merge_group' }} | ||
|
||
- name: Build wasm package | ||
run: | | ||
nix build -L .#noir_wasm | ||
- name: Download noirc_abi_wasm package artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: noirc_abi_wasm | ||
path: ./tooling/noirc_abi_wasm | ||
|
||
- name: Dereference symlink | ||
run: echo "UPLOAD_PATH=$(readlink -f ./result/noir_wasm)" >> $GITHUB_ENV | ||
- 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: ${{ env.UPLOAD_PATH }} | ||
path: ./compiler/wasm | ||
retention-days: 3 | ||
|
||
|
||
build-acvm-js: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
@@ -289,25 +296,24 @@ jobs: | |
name: noir_wasm | ||
path: ./compiler/wasm | ||
|
||
- name: Install Yarn dependencies | ||
uses: ./.github/actions/setup | ||
|
||
- name: Download nargo binary | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: nargo | ||
path: ./nargo | ||
|
||
- name: Compile fixtures with Nargo CLI | ||
working-directory: ./compiler/wasm/fixtures | ||
- name: Set nargo on PATH | ||
run: | | ||
nargo_binary=${{ github.workspace }}/nargo/nargo | ||
nargo_binary="${{ github.workspace }}/nargo/nargo" | ||
chmod +x $nargo_binary | ||
for dir in $(ls -d */); do | ||
pushd $dir/noir-script | ||
$nargo_binary compile | ||
popd | ||
done | ||
echo "$(dirname $nargo_binary)" >> $GITHUB_PATH | ||
export PATH="$PATH:$(dirname $nargo_binary)" | ||
- name: Install Yarn dependencies | ||
uses: ./.github/actions/setup | ||
- name: Build fixtures | ||
run: yarn workspace @noir-lang/noir_wasm test:build_fixtures | ||
|
||
- name: Install Playwright | ||
uses: ./.github/actions/install-playwright | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.