set aarch64 linker from env variable (#131)

This commit is contained in:
Logan McNaughton authored and GitHub committed 2025-01-12 20:09:15 +01:00
1 parent f2812b0434
commit a013e72fda
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -67,6 +67,9 @@ jobs:
run: |
sudo apt update
sudo apt -y install libsdl2-dev
- name: Set aarch64 linker
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
- name: Build
run: |
cargo build --release -v --target=${{ matrix.target }}