From f5794310988c7a757bc8a8c5a082e14cd55b0919 Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 6 Feb 2026 20:41:05 +0300 Subject: [PATCH] ci: install rustup in runner container if missing --- .gitea/workflows/build-mips.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build-mips.yml b/.gitea/workflows/build-mips.yml index 8475129..0d3d355 100644 --- a/.gitea/workflows/build-mips.yml +++ b/.gitea/workflows/build-mips.yml @@ -24,6 +24,10 @@ jobs: - name: Setup Rust 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 target add wasm32-unknown-unknown --toolchain nightly rustup component add rust-src --toolchain nightly