Skip to content

Commit

Permalink
ci: set linker for target
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed Nov 16, 2023
1 parent ef3ed11 commit 6c3f951
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu
echo "CARGO_TARGET_${{ matrix.rust-target }}_LINKER=aarch64-linux-gnu-gcc" >> "$GITHUB_ENV"
- name: Install ARM target toolchain
if: matrix.platform == 'linux' && matrix.arch == 'armhf'
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf
echo "CARGO_TARGET_${{ matrix.rust-target }}_LINKER=arm-linux-gnueabihf-gcc" >> "$GITHUB_ENV"
- name: Install musl toolchain
if: matrix.platform == 'linux' && matrix.libc == 'musl'
run: |
Expand Down

0 comments on commit 6c3f951

Please sign in to comment.