Skip to content

Commit

Permalink
try to fix #1296 by building a universal macos executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed Nov 12, 2024
1 parent 65f7a22 commit 6532a80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ jobs:
runs-on: macos-latest
name: "Release build for macOS"
steps:
- uses: hecrj/setup-rust-action@v1
- uses: moonrepo/setup-rust@v1
with:
rust-version: ${{env.RUST_VERSION}}
- uses: Swatinem/rust-cache@v2
targets: 'aarch64-apple-darwin,x86_64-apple-darwin'
bins: '[email protected]'
- uses: actions/checkout@v4
- name: Build release binary
run: cargo build --release
run: cargo zigbuild --release --target=universal2-apple-darwin
env:
LZMA_API_STATIC: "true"
- name: Strip binary from debug symbols
Expand Down

0 comments on commit 6532a80

Please sign in to comment.