Skip to content

Commit

Permalink
Build universal MacOS binary for daemon
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Jul 27, 2023
1 parent f5fff9e commit db7cb8a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Build
run: cargo build --verbose --manifest-path=zowex/Cargo.toml
run: |
cargo build --verbose --target aarch64-apple-darwin --manifest-path=zowex/Cargo.toml
cargo build --verbose --target x86_64-apple-darwin --manifest-path=zowex/Cargo.toml
mkdir -p zowex/target/debug && cd zowex/target/debug
mv ../aarch64-apple-darwin/debug/zowe zowe.aarch64 && mv ../x86_64-apple-darwin/debug/zowe zowe.x86_64
lipo create -output zowe zowe.aarch64 zowe.x86_64
- name: Create Archive
run: |
Expand Down

0 comments on commit db7cb8a

Please sign in to comment.