mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-02 20:19:36 +00:00
feat: ensure macosx64 is built for x86_64
This commit is contained in:
parent
c4f6cc0c84
commit
55b39cf2c3
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -38,6 +38,7 @@ jobs:
|
||||||
elif [ "$RUNNER_OS" == "macOS" ]; then
|
elif [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
cargo install cargo-bundle
|
cargo install cargo-bundle
|
||||||
rustup target install aarch64-apple-darwin
|
rustup target install aarch64-apple-darwin
|
||||||
|
rustup target install x86_64-apple-darwin
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
@ -45,11 +46,11 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
cargo bundle --release
|
cargo bundle --release --target x86_64-apple-darwin
|
||||||
cargo bundle --release --target aarch64-apple-darwin
|
cargo bundle --release --target aarch64-apple-darwin
|
||||||
mv target/release/bundle/osx/Gupaxx.app Gupaxx-macos-x64.app
|
mv target/x86_64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-x64.app
|
||||||
mv target/aarch64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-arm64.app
|
mv target/aarch64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-arm64.app
|
||||||
cargo bundle --release --features=bundle
|
cargo bundle --release --target x86_64-apple-darwin --features=bundle
|
||||||
cargo bundle --release --target aarch64-apple-darwin --features=bundle
|
cargo bundle --release --target aarch64-apple-darwin --features=bundle
|
||||||
mv target/release/bundle/osx/Gupaxx.app Gupaxx-macos-x64.app_b
|
mv target/release/bundle/osx/Gupaxx.app Gupaxx-macos-x64.app_b
|
||||||
mv target/aarch64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-arm64.app_b
|
mv target/aarch64-apple-darwin/release/bundle/osx/Gupaxx.app Gupaxx-macos-arm64.app_b
|
||||||
|
|
Loading…
Reference in a new issue