Skip to content

Commit

Permalink
[ci] bump macos deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
jd28 committed Nov 10, 2023
1 parent 3c444fa commit 4e4dde1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ env:
VCPKG_DEFAULT_BINARY_CACHE: "${{ github.workspace }}/vcpkg/.cache"
NWN_ROOT: "${{ github.workspace }}/nwn/"
CI_GITHUB_ACTIONS: "1"
MACOSX_DEPLOYMENT_TARGET: "11"
MACOSX_DEPLOYMENT_TARGET: "12"
CMAKE_TOOLCHAIN_FILE: "${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake"

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-11, ubuntu-20.04, windows-latest]
os: [macos-12, ubuntu-20.04, windows-latest]
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.os }}

Expand All @@ -55,7 +55,7 @@ jobs:
# macOS Dependencies
- name: macOS - install non-vcpkg dependencies
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-12'
env:
HOMEBREW_NO_ANALYTICS: "ON"
HOMEBREW_NO_AUTO_UPDATE: "ON"
Expand All @@ -67,7 +67,7 @@ jobs:
echo "CXX=$(brew --prefix llvm)/bin/clang++" >> $GITHUB_ENV
- name: macOS - check clang version
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-12'
run: $CC --version

# Linux dependencies
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
cmake --preset ci-windows
- name: macOS - configure
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-12'
run: |
cmake --preset ci-macos
Expand Down
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_OSX_DEPLOYMENT_TARGET": "11"
"CMAKE_OSX_DEPLOYMENT_TARGET": "12"
}
},
{
Expand Down

0 comments on commit 4e4dde1

Please sign in to comment.