aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2022-10-21 10:36:55 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2022-10-24 11:44:00 -0600
commit616c407893a935101d2e3ba0812dcacc2b3e303f (patch)
treeba1308bc5a716795b057dbe39558694969717b49 /.github/workflows
parent0a3b52945c40ecac86c09139b35e753912e5dbcf (diff)
downloadusermoji-616c407893a935101d2e3ba0812dcacc2b3e303f.tar.xz
ci: Use MACOS_DEPLOYMENT_TARGET
- This approach matches what our SDK release process expect - Since setting CMAKE_MACOS_DEPLOYMENT_TARGET ignores env variable which SDK release process uses, which could will cause issues in the future, if the version is changed - CMAKE_MACOS_DEPLOYMENT_TARGET doesn't propogate to dependencies via update_deps.py
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a7a38728..af8e6364 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -111,6 +111,10 @@ jobs:
- name: Generate build files
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}} -Cexternal/helper.cmake
+ env:
+ # Specify the minimum version of macOS on which the target binaries are to be deployed.
+ # https://cmake.org/cmake/help/latest/envvar/MACOSX_DEPLOYMENT_TARGET.html
+ MACOSX_DEPLOYMENT_TARGET: 10.12
- name: Build the tools
run: make -C build