Skip to content

Commit

Permalink
[CI] Upgrade Xcode and SDK on all macos workers
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Dec 12, 2024
1 parent 3b2a517 commit 120c299
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CI/osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def prepare_params(self, params):
params["command"] = bash_command(*command)
env = params.setdefault("env", {})
dev = env.setdefault(
"DEVELOPER_DIR", "/Applications/Xcode_14.1.app/Contents/Developer"
"DEVELOPER_DIR", "/Applications/Xcode_15.2.app/Contents/Developer"
)
env.setdefault(
"SDKROOT",
"{}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk".format(dev),
"{}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk".format(dev),
)
return params

Expand All @@ -55,11 +55,11 @@ class OsxArm64(OsxCommon, metaclass=TaskEnvironment):
def prepare_params(self, params):
env = params.setdefault("env", {})
dev = env.setdefault(
"DEVELOPER_DIR", "/Applications/Xcode_15.0.1.app/Contents/Developer"
"DEVELOPER_DIR", "/Applications/Xcode_15.2.app/Contents/Developer"
)
env.setdefault(
"SDKROOT",
"{}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk".format(dev),
"{}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk".format(dev),
)
env.setdefault("PIP_DISABLE_PIP_VERSION_CHECK", "1")
params["command"].insert(0, "export PATH=$PATH:/opt/homebrew/bin")
Expand Down

0 comments on commit 120c299

Please sign in to comment.