From 3721bfa695fb3d993513c06e669dfad38322c0d3 Mon Sep 17 00:00:00 2001 From: rami3l Date: Wed, 13 Mar 2024 10:50:25 +0800 Subject: [PATCH] ci(macos): add `MACOSX_DEPLOYMENT_TARGET` and friends --- .github/workflows/ci.yaml | 4 ++++ ci/actions-templates/macos-builds-template.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 173d5ad498..288b2f393b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -897,6 +897,8 @@ jobs: # Do not edit this file in .github/workflows build-macos-x86_64: # job-name skip-aarch64 runs-on: macos-13 # skip-aarch64 + env: # skip-aarch64 + MACOSX_DEPLOYMENT_TARGET: 10.12 # skip-aarch64 strategy: matrix: mode: @@ -1010,6 +1012,8 @@ jobs: # Do not edit this file in .github/workflows build-macos-aarch64: # job-name skip-x86_64 runs-on: macos-14 # skip-x86_64 + env: # skip-x86_64 + MACOSX_DEPLOYMENT_TARGET: 11.0 # skip-x86_64 strategy: matrix: mode: diff --git a/ci/actions-templates/macos-builds-template.yaml b/ci/actions-templates/macos-builds-template.yaml index e9af9c15f3..3a670e8374 100644 --- a/ci/actions-templates/macos-builds-template.yaml +++ b/ci/actions-templates/macos-builds-template.yaml @@ -4,8 +4,12 @@ jobs: # skip-x86_64 skip-aarch64 # Do not edit this file in .github/workflows build-macos-aarch64: # job-name skip-x86_64 runs-on: macos-14 # skip-x86_64 + env: # skip-x86_64 + MACOSX_DEPLOYMENT_TARGET: 11.0 # skip-x86_64 build-macos-x86_64: # job-name skip-aarch64 runs-on: macos-13 # skip-aarch64 + env: # skip-aarch64 + MACOSX_DEPLOYMENT_TARGET: 10.12 # skip-aarch64 strategy: matrix: mode: