Commit 5d01cd79 authored by Chunchi Che's avatar Chunchi Che

fix ci

parent bc5fa3ad
Pipeline #25782 failed
......@@ -24,11 +24,12 @@ npm_ci:
rs_check_lint:
stage: rs_check_lint
image: rust:latest
tags:
- linux
before_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env"
# before_script:
# - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# - source "$HOME/.cargo/env"
script:
- cd rust-src
- cargo check
......@@ -39,11 +40,12 @@ wasm_build:
tags:
- linux
stage: wasm
image: rust:latest
extends:
- .build_base
before_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env"
# before_script:
# - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# - source "$HOME/.cargo/env"
- curl --proto '=https' --tlsv1.2 -sSf https://rustwasm.github.io/wasm-pack/installer/init.sh | 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