Skip to content

Commit

Permalink
Enable Dawn x64 on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Sep 23, 2024
1 parent a1e1039 commit c9904d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
fail-fast: false
matrix:
system: [ Linux-x64, Windows-MSVC-x64, Windows-MSYS-x64, MacOS-x64, MacOS-ARM ]
build-type: [ Debug, Release ]
webgpu-backend: [ DAWN, WGPU ]
link-type: [ SHARED, STATIC ]
build-type: [ Debug, Release ]

include:
- system: Linux-x64
Expand All @@ -31,6 +31,7 @@ jobs:
- system: Windows-MSYS-x64
runner: windows-latest
msystem: ucrt64
shell: msys2 {0}
exe-extension: .exe
is-multiconfig: true

Expand All @@ -47,7 +48,7 @@ jobs:
runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
if: ${{ matrix.install-deps }}
Expand All @@ -58,8 +59,10 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
pacboy: cmake:p

- name: Configure CMake
shell: ${{ matrix.shell }}
run: >
cmake
-S .github/example
Expand Down
2 changes: 2 additions & 0 deletions dawn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ if (ARCH STREQUAL "x86_64" AND CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(URL_ARCH "")
elseif (ARCH STREQUAL "x86_64" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(URL_ARCH "")
elseif (ARCH STREQUAL "x86_64" AND CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(URL_ARCH "")
elseif (ARCH STREQUAL "aarch64" AND CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(URL_ARCH "")
else()
Expand Down

0 comments on commit c9904d8

Please sign in to comment.