Skip to content

Commit 9e08687

Browse files
committed
Try building aarch64 first
Seeing if [this](cross-rs/cross#724 (comment)) is a quick fix so I can avoid any deeper debugging.
1 parent 7feebd1 commit 9e08687

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ jobs:
5656
profile: minimal
5757
toolchain: 1.69.0
5858
override: true
59-
- name: Build release libraries
60-
run: cargo build --release -p polar-c-api
61-
- name: Build x86_64 release musl library
62-
run: |
63-
rustup target add x86_64-unknown-linux-musl
64-
RUSTFLAGS="-C target-feature=-crt-static" cargo build --target x86_64-unknown-linux-musl --release -p polar-c-api
6559
- name: Install cross
6660
env:
6761
GH_TOKEN: ${{ github.token }}
@@ -76,6 +70,12 @@ jobs:
7670
run: |
7771
rustup target add aarch64-unknown-linux-gnu
7872
RUSTFLAGS="-C target-feature=-crt-static" ./cross build --target aarch64-unknown-linux-gnu --release -p polar-c-api
73+
- name: Build x86_64 release libraries
74+
run: cargo build --release -p polar-c-api
75+
- name: Build x86_64 release musl library
76+
run: |
77+
rustup target add x86_64-unknown-linux-musl
78+
RUSTFLAGS="-C target-feature=-crt-static" cargo build --target x86_64-unknown-linux-musl --release -p polar-c-api
7979
- name: Rename static lib
8080
run: mv target/release/libpolar.a target/libpolar-${{runner.os}}.a
8181
- name: Rename x86_64 static lib

0 commit comments

Comments
 (0)