diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c0cb84f0..887ba11e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -61,7 +61,7 @@ jobs: - name: Install Dependencies if: ${{ matrix.os == 'ubuntu-latest' }} run: | - sudo apt install -y protobuf-compiler + sudo apt install -y --no-install-recommends musl-tools protobuf-compiler libprotobuf-dev - name: Install Rust Toolchain Components uses: actions-rs/toolchain@v1 @@ -75,6 +75,8 @@ jobs: run: | sudo apt update sudo apt install -y gcc-aarch64-linux-gnu + echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV" + echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV" - name: Install ARM7 Toolchain if: ${{ matrix.target == 'armv7-unknown-linux-musleabihf' }}