Skip to content

Commit

Permalink
fix macos packages (#330) (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajveermalviya authored Dec 11, 2023
1 parent 8561b0d commit 22eaa9c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ jobs:
TARGET: x86_64-apple-darwin
ARCHIVE_NAME: wgpu-macos-x86_64
MACOSX_DEPLOYMENT_TARGET: "10.13"
RUSTFLAGS: "-C link-args=-Wl,-install_name,@rpath/libwgpu_native.dylib"
steps:
# Common part (same for each build)
- uses: actions/checkout@v3
Expand Down Expand Up @@ -247,6 +248,7 @@ jobs:
TARGET: aarch64-apple-darwin
ARCHIVE_NAME: wgpu-macos-aarch64
MACOSX_DEPLOYMENT_TARGET: "11.0"
RUSTFLAGS: "-C link-args=-Wl,-install_name,@rpath/libwgpu_native.dylib"
steps:
# Common part (same for each build)
- uses: actions/checkout@v3
Expand Down Expand Up @@ -279,7 +281,12 @@ jobs:
publish:
name: Publish Github release
needs:
[linux-x86_64, linux-aarch64, windows-x86_64, windows-i686, macos-x86_64, macos-aarch64]
- linux-x86_64
- linux-aarch64
- windows-x86_64
- windows-i686
- macos-x86_64
- macos-aarch64
runs-on: ubuntu-latest
if: success() && contains(github.ref, 'tags/v')
steps:
Expand Down

0 comments on commit 22eaa9c

Please sign in to comment.