mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
update
This commit is contained in:
@@ -19,8 +19,8 @@ jobs:
|
||||
include:
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
# - target: x86_64-unknown-linux-musl
|
||||
# os: ubuntu-latest
|
||||
- target: x86_64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
@@ -56,20 +56,20 @@ jobs:
|
||||
pnpm install
|
||||
pnpm run build
|
||||
|
||||
# - name: Install musl-tools (Linux musl only)
|
||||
# if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
# run: sudo apt-get update && sudo apt-get install -y musl-tools
|
||||
|
||||
- name: Install musl-tools (Linux musl only)
|
||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
run: sudo apt-get update && sudo apt-get install -y musl-tools
|
||||
|
||||
- name: Build aarch64 Rust backend
|
||||
if: matrix.target == 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
cargo install cross --force
|
||||
cross build --release --target=${{ matrix.target }}
|
||||
cross build --release --features vendored-openssl --target=${{ matrix.target }}
|
||||
|
||||
- name: Build Rust backend
|
||||
if: matrix.target != 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
cargo build --release --target=${{ matrix.target }}
|
||||
cargo build --release --features vendored-openssl --target=${{ matrix.target }}
|
||||
|
||||
- name: Strip binary (Linux and macOS)
|
||||
if: matrix.os != 'windows-latest' && matrix.target != 'aarch64-unknown-linux-gnu'
|
||||
|
||||
Reference in New Issue
Block a user