This commit is contained in:
rustmailer
2025-11-21 22:50:03 +08:00
parent b6847be9f4
commit 80a2667ae1
+9 -7
View File
@@ -60,14 +60,16 @@ jobs:
if: matrix.target == 'x86_64-unknown-linux-musl'
run: sudo apt-get update && sudo apt-get install -y musl-tools
- name: Build Rust backend
- name: Build aarch64 Rust backend
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
if [[ "${{ matrix.target }}" == "aarch64-unknown-linux-gnu" ]]; then
cargo install cross --force
cross build --release --features vendored-openssl --target=${{ matrix.target }}
else
cargo build --release --features vendored-openssl --target=${{ matrix.target }}
fi
cargo install cross --force
cross build --release --features vendored-openssl --target=${{ matrix.target }}
- name: Build Rust backend
if: matrix.target != 'aarch64-unknown-linux-gnu'
run: |
cargo build --release --features vendored-openssl --target=${{ matrix.target }}
- name: Strip binary (Linux and macOS)
if: matrix.os != 'windows-latest'