Skip to content

Adds binary(wasm) build GitHub Action for x86_64-pc-windows-wasm#469

Closed
kobyhallx wants to merge 2 commits intonoir-lang:masterfrom
kobyhallx:kh/build--x86_64-pc-windows-wasm
Closed

Adds binary(wasm) build GitHub Action for x86_64-pc-windows-wasm#469
kobyhallx wants to merge 2 commits intonoir-lang:masterfrom
kobyhallx:kh/build--x86_64-pc-windows-wasm

Conversation

@kobyhallx
Copy link
Contributor

Related issue(s)

#225 Releases don't contain binaries anymore

Resolves (link to issue)

#225 Releases don't contain binaries anymore - resolves partially as it provides Windows, wasm based binaries, others to follow.

Description

As a Developer, I would like to have access to the pre-build binary release
so that I could download system appropriate executables and start working with Noir Language.

Summary of changes

.github/workflows/publish-x86_64-pc-windows-wasm.yml - adds workflow to build binary on windows based runner. This uses static wasm build of the backend hence performance is going to be suboptimal.

Dependency additions / changes

N/A

Test additions / changes

N/A

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

N/A


- name: Patch backend in crates/nargo/Cargo.toml
run: |
(Get-Content crates/nargo/Cargo.toml) -replace 'aztec_backend = { optional = true, git = "https://github.com/noir-lang/aztec_backend", rev = "01b922adcb5a9d70b2d12304e1cb7487d9f28188" }', 'aztec_backend = { optional = true, git = "https://github.com/noir-lang/aztec_backend", features = ["wasm-base"], default-features = false }' | Out-File -encoding ASCII crates/nargo/Cargo.toml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to add a wildcard to the rev here so that we don't need to update this file each time we change the aztec_backend rev in our Cargo.toml?

@kobyhallx kobyhallx closed this Nov 15, 2022
@kobyhallx kobyhallx deleted the kh/build--x86_64-pc-windows-wasm branch November 15, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants