# Expand ARM64 Linux Support in Build Pipeline

Added support for both ARM64 Linux variants to the CI/CD build pipeline:

1. Enabled the previously commented `aarch64-unknown-linux-gnu` target build
2. Re-enabled the `aarch64-unknown-linux-musl` target build
3. Updated the build matrix to ensure proper runner selection:
   - Ubuntu runners build all Linux targets
   - macOS runners build only Apple Silicon targets
4. Maintained compatibility with the existing build scripts and packaging process

This expansion gives users more options for deploying on ARM64 Linux platforms, supporting both glibc and musl libc environments for maximum compatibility and performance.
This commit is contained in:
houseme
2025-05-10 00:24:14 +08:00
parent 2a9a60197b
commit b1358d4711
+9 -3
View File
@@ -17,16 +17,22 @@ jobs:
matrix:
os: [ ubuntu-latest, macos-latest ]
variant:
- { profile: release, target: x86_64-unknown-linux-musl, glibc: "default" }
#- { profile: release, target: x86_64-unknown-linux-musl, glibc: "default" }
- { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
- { profile: release, target: aarch64-apple-darwin, glibc: "default" }
- { profile: release, target: aarch64-unknown-linux-gnu, glibc: "default" }
#- { profile: release, target: aarch64-unknown-linux-musl, glibc: "default" }
exclude:
- os: ubuntu-latest
variant: { profile: release, target: x86_64-apple-darwin, glibc: "default" }
- os: macos-latest
variant: { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" }
- os: ubuntu-latest
variant: { profile: release, target: aarch64-apple-darwin, glibc: "default" }
- os: macos-latest
variant: { profile: release, target: x86_64-unknown-linux-musl, glibc: "default" }
- os: macos-latest
variant: { profile: release, target: aarch64-unknown-linux-musl, glibc: "default" }
- os: macos-latest
variant: { profile: release, target: aarch64-unknown-linux-gnu, glibc: "default" }
steps:
- uses: actions/checkout@v4