Skip to content

Commit a9043d2

Browse files
authored
Update ci.yml
1 parent 5d159f5 commit a9043d2

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
ext: tar.gz
2424
deb: true
2525

26+
# ARM64: MUSL → static & cross-compile safe
2627
- os: ubuntu-latest
27-
target: aarch64-unknown-linux-gnu
28+
target: aarch64-unknown-linux-musl
2829
ext: tar.gz
2930
deb: true
3031

@@ -74,27 +75,15 @@ jobs:
7475
- name: Install Rust target
7576
run: rustup target add ${{ matrix.target }}
7677

77-
# Linux deps (deb + i386 build support)
78-
- name: Install Linux build dependencies
79-
if: matrix.deb == true
80-
run: |
81-
sudo apt-get update
82-
sudo apt-get install -y gcc-multilib
83-
84-
# ARM64 cross-linker fix
85-
- name: Install ARM64 cross toolchain
86-
if: matrix.target == 'aarch64-unknown-linux-gnu'
87-
run: |
88-
sudo apt-get update
89-
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
90-
echo "CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
91-
echo "CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++" >> $GITHUB_ENV
78+
- name: Install Linux build deps (i386 support)
79+
if: matrix.os == 'ubuntu-latest'
80+
run: sudo apt-get update && sudo apt-get install -y gcc-multilib
9281

9382
- name: Install cargo-deb (Linux only)
9483
if: matrix.deb == true
9584
run: cargo install cargo-deb
9685

97-
- name: Build (cross, Windows included)
86+
- name: Build (all platforms, cross included)
9887
shell: bash
9988
run: |
10089
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then

0 commit comments

Comments
 (0)