Skip to content

Commit

Permalink
feat: create universal binary for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 16, 2024
1 parent 2404db9 commit e0a5248
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,10 @@ jobs:
run: |
cargo build --verbose --release --target=aarch64-apple-darwin
cargo build --verbose --release --target=x86_64-apple-darwin
- name: Build Universal
run: |
mkdir -p ./target/universal-apple-darwin/release/
lipo -create -output ./target/universal-apple-darwin/release/git-lfs-synology ./target/x86_64-apple-darwin/release/git-lfs-synology ./target/aarch64-apple-darwin/release/git-lfs-synology
- name: ls
run: find . -name git-lfs-synology
run: |
find . -name git-lfs-synology

0 comments on commit e0a5248

Please sign in to comment.