Skip to content

Commit

Permalink
add build targets to ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Jun 26, 2023
1 parent cd0a6e9 commit e8a3948
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sed -i '' -e "s/{{ BUILD }}/$BUILD/g" "$APP_TEMPLATE_PLIST"

# build binary
export MACOSX_DEPLOYMENT_TARGET="11.0"
rupstup target add x86_64-apple-darwin
rupstup target add aarch64-apple-darwin
cargo build --release --target=x86_64-apple-darwin
cargo build --release --target=aarch64-apple-darwin
lipo "target/x86_64-apple-darwin/release/$TARGET" "target/aarch64-apple-darwin/release/$TARGET" -create -output "$APP_BINARY"
Expand Down

0 comments on commit e8a3948

Please sign in to comment.