-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Ensure that CLI and wasm compilers are sync in noir_wasm_testing
#2079
Conversation
7867b88
to
be4bfc4
Compare
be4bfc4
to
20bc4a7
Compare
d0ffd6f
to
4f351fa
Compare
@jonybur Ahhhh, yeah. I forgot that the nix flake builds for a native backend by default. Good catch. Perhaps we could solve this by updating the |
Let's not worry about running the release acceptance tests on this. We can add these in later once we're pulling build-nargo into this repo properly. We're just hacking here. |
* Edit workflow * Output built directory * Fix noir_wasm copy * Fix workflow * Add mkdir to workflow * Remove logs * chore: Ensure that CLI and wasm compilers are sync in `noir_wasm_testing` (#2079) --------- Co-authored-by: jonybur <jobur93@gmail.com> * Update .github/workflows/wasm.yml * chore: run browser tests rather than nodejs tests * chore: fix test command in CI * chore: bring noir-wasm-testing repo contents into wasm crate --------- Co-authored-by: jonybur <jobur93@gmail.com> * chore: update compile command to handle not being at repo root * chore: remove unnecessary checkout * chore: update location to look for nargo binary * chore: add missing $ * chore: remove self-referential dependency * chore: switch to `noir-lang/noir-source-resolver` version which exists * chore: place downloaded wasm artifact in `crates/wasm` so it can resolve the resolver * Revisions * chore: fix CI workflow * chore: remove usage of `matrix.target` * chore: fix path to binary * chore: remove unwanted printing when compiling noir program * chore: update `Nargo.toml` to be compliant with new format * chore: remove unnecessary checkout * chore: add todo to workflow * Update .github/workflows/wasm.yml * Update crates/wasm/noir-script/src/main.nr * Update crates/wasm/test/browser/index.test.ts --------- Co-authored-by: TomAFrench <tom@tomfren.ch> Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Description
Problem*
Resolves
Summary*
This is a pretty hacky solution to the mismatch of noirc versions between CLI and WASM. We should in future get wasm to reuse the build artifacts we have commited.
Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmt
on default settings.