ci: set minimum deployment versions correctly [skip ci]

Shouldn't really be an issue since 10.13 is already lower than 11.0, but this is more "correct"
This commit is contained in:
itsmattkc
2022-02-17 17:56:59 -08:00
parent 76831a2bfd
commit c2dd7da723
+3 -1
View File
@@ -285,12 +285,14 @@ jobs:
os-arch: x86_64
os: macos-10.15
cmake-gen: Ninja
min-deploy: 10.13
- build-type: RelWithDebInfo
compiler-name: Clang LLVM
os-name: macOS
os-arch: arm64
os: macos-11.0
cmake-gen: Ninja
min-deploy: 11.0
env:
DEP_LOCATION: /opt/olive-editor
name: |
@@ -349,7 +351,7 @@ jobs:
brew install ninja
PATH=$DEP_LOCATION:$DEP_LOCATION/bin:$DEP_LOCATION/include:$DEP_LOCATION/lib:$DEP_LOCATION/crashpad:$PATH \
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -G "${{ matrix.cmake-gen }}" \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${{ matrix.min-deploy }} -G "${{ matrix.cmake-gen }}" \
-DCMAKE_OSX_ARCHITECTURES="${{ matrix.os-arch }}"
- name: Build