Skip to content

Commit 9b9ce19

Browse files
Build universal binaries on macos-14
Pass -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" to cmake to make it build universal binaries. Changed from macos-12 to macos-14 runner as they're much faster.
1 parent c46c9f4 commit 9b9ce19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sokatoa-create-release-from-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
# free runners
38-
os: [windows-2019, ubuntu-20.04, macos-12]
38+
os: [windows-2019, ubuntu-20.04, macos-14]
3939

4040
runs-on: ${{ matrix.os }}
4141
timeout-minutes: 60
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
mkdir build
5454
cd build
55-
cmake ../ -C ../cmake/caches/PredefinedParams.cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_UTILS=OFF -DLLVM_BUILD_RUNTIME=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DHLSL_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF
55+
cmake ../ -C ../cmake/caches/PredefinedParams.cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_UTILS=OFF -DLLVM_BUILD_RUNTIME=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DHLSL_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
5656
cmake --build . --config Release -j 12
5757
5858
- name: Archive results

0 commit comments

Comments
 (0)