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: ...@@ -24,9 +24,11 @@ npm_ci:
rs_check_lint: rs_check_lint:
stage: rs_check_lint stage: rs_check_lint
image: rust:latest
tags: tags:
- linux - linux
before_script:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- source "$HOME/.cargo/env"
script: script:
- cd rust-src - cd rust-src
- cargo check - cargo check
...@@ -36,11 +38,12 @@ rs_check_lint: ...@@ -36,11 +38,12 @@ rs_check_lint:
wasm_build: wasm_build:
tags: tags:
- linux - linux
image: rust:latest
stage: wasm stage: wasm
extends: extends:
- .build_base - .build_base
before_script: 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 - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script: script:
- wasm-pack build ./rust-src --target web - 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