From acf8ebe61f45e5745067ff7cff0a618aba833e60 Mon Sep 17 00:00:00 2001 From: Taku Kudo Date: Sun, 14 Jan 2024 01:51:01 +0000 Subject: [PATCH] build universal osx binary --- .github/workflows/cmake.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7442c548..651a174a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -45,6 +45,8 @@ jobs: - name: Config for Unix if: runner.os != 'Windows' run: cmake -B ${{github.workspace}}/build -DSPM_BUILD_TEST=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/root + env: + CMAKE_OSX_ARCHITECTURES: arm64;x86_64 - name: Build run: cmake --build ${{github.workspace}}/build --config Release --target install --parallel 8