Skip to content

Commit

Permalink
Possibly fix Apple Silicon builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Insprill authored Oct 6, 2023
1 parent c1dfcce commit 0a5022a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ jobs:
continue-on-error: true

- name: Build Release
if: ${{ runner.os != 'macOS' }}
run: cargo build --release --target=${{ matrix.target }}

- name: Build macOS Release
if: ${{ runner.os == 'macOS' }}
run: SDKROOT=$(xcrun -sdk macosx --show-sdk-path) MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version) cargo build --release --target=${{ matrix.target }}

- name: Bundle macOS Release
if: ${{ runner.os == 'macOS' }}
run: |
Expand Down

0 comments on commit 0a5022a

Please sign in to comment.