Skip to content

Commit ae68460

Browse files
committed
add macos universal build
1 parent 6914ef6 commit ae68460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Build
6464
run: |
65-
cmake -B build -S yoga -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON
65+
cmake -B build -S yoga -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
6666
cmake --build build --config Release
6767
mkdir -p dist/osx
6868
cp build/libyogacore.dylib dist/osx/libyoga.dylib

0 commit comments

Comments
 (0)