Skip to content

Commit 0e7df4d

Browse files
committed
ci(macos): add MACOSX_DEPLOYMENT_TARGET and friends
1 parent 46327d7 commit 0e7df4d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,9 @@ jobs:
897897
# Do not edit this file in .github/workflows
898898
build-macos-x86_64: # job-name skip-aarch64
899899
runs-on: macos-13 # skip-aarch64
900+
env: # skip-aarch64
901+
MACOSX_DEPLOYMENT_TARGET: 10.12 # skip-aarch64
902+
MACOSX_STD_DEPLOYMENT_TARGET: 10.12 # skip-aarch64
900903
strategy:
901904
matrix:
902905
mode:
@@ -1010,6 +1013,9 @@ jobs:
10101013
# Do not edit this file in .github/workflows
10111014
build-macos-aarch64: # job-name skip-x86_64
10121015
runs-on: macos-14 # skip-x86_64
1016+
env: # skip-x86_64
1017+
MACOSX_DEPLOYMENT_TARGET: 11.0 # skip-x86_64
1018+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0 # skip-x86_64
10131019
strategy:
10141020
matrix:
10151021
mode:

ci/actions-templates/macos-builds-template.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ jobs: # skip-x86_64 skip-aarch64
44
# Do not edit this file in .github/workflows
55
build-macos-aarch64: # job-name skip-x86_64
66
runs-on: macos-14 # skip-x86_64
7+
env: # skip-x86_64
8+
MACOSX_DEPLOYMENT_TARGET: 11.0 # skip-x86_64
9+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0 # skip-x86_64
710
build-macos-x86_64: # job-name skip-aarch64
811
runs-on: macos-13 # skip-aarch64
12+
env: # skip-aarch64
13+
MACOSX_DEPLOYMENT_TARGET: 10.12 # skip-aarch64
14+
MACOSX_STD_DEPLOYMENT_TARGET: 10.12 # skip-aarch64
915
strategy:
1016
matrix:
1117
mode:

0 commit comments

Comments
 (0)