diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e608e7..1845037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,6 +123,7 @@ jobs: os: ubuntu-latest target: aarch64-unknown-linux-gnu packages: "libc6-dev-arm64-cross gcc-aarch64-linux-gnu" + cc: aarch64-linux-gnu-gcc # - build: macos # os: macos-latest @@ -181,7 +182,7 @@ jobs: #BINDGEN_EXTRA_CLANG_ARGS: -"-sysroot /usr/aarch64-linux-gnu" shell: bash run: | - cargo build --verbose --release --target ${{ matrix.target }} + CC=${{ matrix.cc }} cargo build --verbose --release --target ${{ matrix.target }} - name: Build archive shell: bash