rs2048 icon indicating copy to clipboard operation
rs2048 copied to clipboard

Create rudimentary CI/CD pipeline

Open KappaDistributive opened this issue 5 years ago • 4 comments

Create a rudimentary CI/CD pipeline.

Steps to include:

  • Build the WASM version of rs2048
  • Deploy the new version of the demo when merging with master

KappaDistributive avatar May 15 '20 15:05 KappaDistributive

Have you worked on this yet? I don't mind doing it nobody else is.

vineetred avatar Jul 06 '20 17:07 vineetred

I have not. Please go ahead and start working on this.

In case you run into issues or want an outside opinion, don't be shy to reach out.

Looking forward to your work,

Stefan.

KappaDistributive avatar Jul 06 '20 17:07 KappaDistributive

@KappaDistributive got it. Just a small question, how are Rust WASM packages built? As in, what is the command for it?

vineetred avatar Jul 07 '20 05:07 vineetred

cargo web build --target=wasm32-unknown-unknown --release should do the trick.

Here's some relevant documentation: https://github.com/koute/cargo-web

KappaDistributive avatar Jul 07 '20 09:07 KappaDistributive