diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 047ad6c..4562cb7 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -39,17 +39,9 @@ jobs: uses: actions/checkout@v3 - name: Install Rust - if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }} uses: dtolnay/rust-toolchain@stable with: targets: "${{ matrix.target }}" - - - uses: actions-rs/toolchain@v1 - if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }} - with: - toolchain: stable - target: aarch64-unknown-linux-gnu - override: true - name: Setup Cache uses: Swatinem/rust-cache@v2 @@ -71,6 +63,8 @@ jobs: run: | sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu + export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc + #export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=/usr/bin/arm-linux-gnueabihf-gcc - name: Build Binary if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }}