diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cac7b6f..5b9037d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -37,12 +37,13 @@ jobs: include: - os: ubuntu-latest target: x86_64-unknown-linux-musl + tools: musl-tools - os: ubuntu-latest target: aarch64-unknown-linux-musl - linker: gcc-aarch64-linux-gnu + tools: gcc-aarch64-linux-gnu - os: ubuntu-latest target: armv7-unknown-linux-gnueabihf - linker: gcc-arm-linux-gnueabihf + tools: gcc-arm-linux-gnueabihf - os: macos-latest target: x86_64-apple-darwin - os: macos-latest @@ -63,11 +64,11 @@ jobs: targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 - - name: Install Linker - if: matrix.linker + - name: Install Linker Tools + if: matrix.tools run: | sudo apt-get update - sudo apt-get install ${{ matrix.linker }} + sudo apt-get install ${{ matrix.tools }} # ensure has a newline at the end [ "$(tail -c 1 .cargo/config.toml)" != "" ] && echo >> .cargo/config.toml cat .cargo/config.github.toml >> .cargo/config.toml