Don't forget MUSL tools which will definitely also completely explode when cross-compiling
Some checks failed
/ cargo test (push) Waiting to run
/ docker build (push) Failing after 3s
/ raw artifact (push) Has been cancelled

This commit is contained in:
Karcsesz 2024-03-18 01:38:54 +01:00
parent 259d41d433
commit 125c8df527

View file

@ -29,9 +29,9 @@ jobs:
- uses: actions/rust-toolchain@stable
with:
targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl"
- run: apt-get update && apt-get install musl-tools
- run: cargo build --release --target x86_64-unknown-linux-musl
- run: cargo build --release --target aarch64-unknown-linux-musl
- run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink-x86_64 && mv target/aarch64-unknown-linux-musl/release/fingerlink-arm64
- run: mkdir _release && mv target/x86_64-unknown-linux-musl/release/fingerlink _release/fingerlink
- uses: actions/forgejo-release@v1
with:
direction: upload