Don't forget MUSL tools which will definitely also completely explode when cross-compiling
This commit is contained in:
parent
259d41d433
commit
125c8df527
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ jobs:
|
||||||
- uses: actions/rust-toolchain@stable
|
- uses: actions/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: "x86_64-unknown-linux-musl,aarch64-unknown-linux-musl"
|
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 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
|
||||||
- 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
|
|
||||||
- uses: actions/forgejo-release@v1
|
- uses: actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
|
|
Loading…
Reference in a new issue