From a150b7ee9897ef1e6e886b54a1c5c71d01d4ed55 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 7 Aug 2024 12:35:17 +0200 Subject: [PATCH] added installation of cargo for macos --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5954b44..72a04dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,8 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Rust compilation prerequisites + - name: Rust compilation prerequisites (Ubuntu) + if: ${{ matrix.os }} === "ubuntu-latest" run: | sudo apt update sudo apt install -y \ @@ -28,8 +29,13 @@ jobs: rustup target add wasm32-unknown-unknown rustup component add rustfmt clippy rust-src + - name: Install Cargo (MacOS) + if: ${{ matrix.os }} === "macos-lates" + run: curl https://sh.rustup.rs -sSf | sh + # We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way. - name: Free Disk Space (Ubuntu) + if: ${{ matrix.os }} === "ubuntu-latest" uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1 with: android: true # This alone is a 12 GB save.