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

fix ci

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