Skip to content
Snippets Groups Projects
Verified Commit 150fdf50 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: added building of wasm

parent f6a68a6f
No related branches found
No related tags found
No related merge requests found
Pipeline #685 passed
......@@ -19,3 +19,18 @@ build-rust:
- rustc --version
- cargo build
- cargo build --release
build-wasm:
stage: build
parallel:
matrix:
- RUST_VERSION: ["1.60.0"]
script:
- rustup toolchain install $RUST_VERSION
- rustup override set $RUST_VERSION
- rustc --version
- cargo install wasm-pack
- wasm-pack build --release --target=web --out-dir=examples/web/lib -- --features wasm
artifacts:
paths:
- examples/web
......@@ -64,7 +64,7 @@ p {
}
.main > .side-left .canvas-container > .canvas {
margin-top: 72px;
margin-top: 76px;
border: 2px solid #50cb93;
padding: 8px 8px 8px 8px;
background-color: #1b1a17;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment