Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit 3f83b58

Browse files
committed
Fix copied-pasted workflow
1 parent 2e2a789 commit 3f83b58

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/binary.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
env:
1010
CARGO_TERM_COLOR: always
1111

12+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
13+
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
14+
1215
jobs:
1316
build:
1417
name: Rust project - latest
@@ -25,15 +28,15 @@ jobs:
2528
with:
2629
target: ${{ matrix.target }}
2730

28-
- if: matrix.target == 'x86_64-unknown-linux-musl'
31+
- if: matrix.target == 'x86_64-unknown-linux-gnu'
2932
run: |
3033
sudo apt update
3134
sudo apt install -y --no-install-recommends mold clang pkgconf
3235
33-
- if: matrix.target == 'armv7-unknown-linux-musleabihf'
36+
- if: matrix.target == 'armv7-unknown-linux-gnu'
3437
run: |
3538
sudo apt update
36-
sudo apt install -y gcc-arm-linux-gnueabihf mold clang pkgconf
39+
sudo apt install -y gcc-aarch64-linux-gnu mold clang pkgconf
3740
3841
- name: Build
3942
run: cargo build --release --target ${{ matrix.target }}

0 commit comments

Comments
 (0)