From 07df1bcaabcee9e70dafe9089d7dd64fc3d57d2e Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Wed, 21 Aug 2024 10:28:53 +0200 Subject: [PATCH] bump macos deployment target Unfortunately we cannot set lower target versions until we use an alternative way to install openssl (e.g., build it from source). OpenSSL Homebrew packages were built with higher target versions. --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b10440..744b3d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,9 +56,11 @@ jobs: - os: macos-13 arch: x86_64 cmake_osx_architectures: x86_64 + macosx_deployment_target: 13.0 - os: macos-14 arch: arm64 cmake_osx_architectures: arm64 + macosx_deployment_target: 14.0 steps: - uses: actions/checkout@v4 @@ -93,7 +95,7 @@ jobs: S2GEOMETRY_VERSION=${{ env.S2GEOMETRY_VERSION }} S2GEOGRAPHY_VERSION=${{ env.S2GEOGRAPHY_VERSION }} CXX_STANDARD=${{ env.CXX_STANDARD }} - MACOSX_DEPLOYMENT_TARGET=10.9 + MACOSX_DEPLOYMENT_TARGET=${{ matrix.macosx_deployment_target }} CMAKE_OSX_ARCHITECTURES='${{ matrix.cmake_osx_architectures }}' CIBW_ENVIRONMENT_WINDOWS: DEPENDENCIES_DIR='${{ runner.temp }}\3rd-party'