Skip to content

Commit

Permalink
Move back to targeting macOS 10.14.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Nov 22, 2023
1 parent c9a1cf4 commit 33bbb66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,19 @@ jobs:
manylinux: true
- platform: macos-x86_64
os: macos-12
# By default we have to target macOS 10.14 at minimum according to CRAN policy.
# See https://stat.ethz.ch/pipermail/r-package-devel/2023q4/010078.html
MACOSX_DEPLOYMENT_TARGET: 10.14
triplet: x64-osx-release
- platform: macos-arm64
os: macos-12
cmake_args: -DCMAKE_OSX_ARCHITECTURES=arm64
MACOSX_DEPLOYMENT_TARGET: 11
triplet: arm64-osx-release
runs-on: ${{ matrix.os }}
container: ${{ matrix.manylinux && 'quay.io/pypa/manylinux2014_x86_64:2023-11-13-f6b0c51' || '' }}
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.MACOSX_DEPLOYMENT_TARGET }}
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'

steps:
Expand Down
2 changes: 1 addition & 1 deletion ports/triplets/x64-osx-release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)
set(VCPKG_OSX_DEPLOYMENT_TARGET 11)
set(VCPKG_OSX_DEPLOYMENT_TARGET 10.14)

set(VCPKG_BUILD_TYPE release)

0 comments on commit 33bbb66

Please sign in to comment.