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