This commit is contained in:
iff 2025-04-08 20:59:39 +02:00
parent 6bab3c4792
commit 94f249de16
5 changed files with 15 additions and 17 deletions

View file

@ -81,21 +81,16 @@ jobs:
key: ${{ matrix.target }}
- name: Build
if: ${{ matrix.cross == false && matrix.musl == false }}
if: ${{ matrix.cross == false }}
run:
cargo build --release --workspace --locked --target ${{ matrix.target }}
- name: Build (musl)
if: ${{ matrix.cross == false && matrix.musl == true }}
run:
cargo build --release --workspace --no-default-features --locked --target ${{ matrix.target }}
- name: Build (cross)
if: ${{ matrix.cross == true}}
# cross 0.2.5 broken for android
run: |
cargo install cross --locked --git https://github.com/cross-rs/cross --rev 99b8069c0d977a14cd421ad8a3ef3255dc5802be
cross build --release --workspace --no-default-features --locked --target ${{ matrix.target }}
cross build --release --workspace --locked --target ${{ matrix.target }}
- name: Package deb
if: ${{ matrix.deb == true }}