From 4a6d4350c5c0ccee1e9b2192d2e20439f936277c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sun, 23 Jan 2022 13:44:09 +1300 Subject: [PATCH] Always install release tools --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65867a5..18b02c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,6 +92,16 @@ jobs: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }} + - name: Add musl tools + run: sudo apt install -y musl musl-dev musl-tools + if: endsWith(matrix.target, '-musl') + - name: Add aarch-gnu tools + run: sudo apt install -y gcc-aarch64-linux-gnu + if: startsWith(matrix.target, 'aarch64-unknown-linux') + - name: Add arm7hf-gnu tools + run: sudo apt install -y gcc-arm-linux-gnueabihf + if: startsWith(matrix.target, 'armv7-unknown-linux-gnueabihf') + - name: Install cargo-deb if: startsWith(matrix.name, 'linux-') uses: baptiste0928/cargo-install@v1