Commit 7759a79b authored by Chunchi Che's avatar Chunchi Che

update gitlab-ci

parent d3b62e1c
Pipeline #23473 passed with stages
in 15 minutes and 18 seconds
......@@ -24,9 +24,11 @@ npm_ci:
rs_check_lint:
stage: rs_check_lint
image: rust:latest
tags:
- linux
before_script:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- source "$HOME/.cargo/env"
script:
- cd rust-src
- cargo check
......@@ -36,11 +38,12 @@ rs_check_lint:
wasm_build:
tags:
- linux
image: rust:latest
stage: wasm
extends:
- .build_base
before_script:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- source "$HOME/.cargo/env"
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script:
- wasm-pack build ./rust-src --target web
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment