ci: install rustup in runner container if missing
Some checks failed
Build MIPS Binary / build (push) Failing after 1m2s
Some checks failed
Build MIPS Binary / build (push) Failing after 1m2s
This commit is contained in:
@@ -24,6 +24,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
run: |
|
run: |
|
||||||
|
if ! command -v rustup >/dev/null 2>&1; then
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
fi
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
rustup toolchain install nightly --profile minimal
|
rustup toolchain install nightly --profile minimal
|
||||||
rustup target add wasm32-unknown-unknown --toolchain nightly
|
rustup target add wasm32-unknown-unknown --toolchain nightly
|
||||||
rustup component add rust-src --toolchain nightly
|
rustup component add rust-src --toolchain nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user