Skip to content

Commit

Permalink
Drone: MacOS Sonoma (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin authored Dec 1, 2023
1 parent d66b3a5 commit d59f56f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci/drone/functions.star
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,13 @@ def osx_cxx(
if xcode_version:
job_env["DEVELOPER_DIR"] = "/Applications/Xcode-" + xcode_version + ".app/Contents/Developer"
if not osx_version:
if xcode_version[0:2] in [ "14", "13"]:
if xcode_version[0:2] in [ "16", "15"]:
osx_version="sonoma"
arch="arm64"
elif xcode_version[0:4] in [ "14.2", "14.3"]:
osx_version="sonoma"
arch="arm64"
elif xcode_version[0:2] in [ "14", "13"]:
osx_version="monterey"
arch="arm64"
elif xcode_version[0:4] in [ "12.5"]:
Expand Down

0 comments on commit d59f56f

Please sign in to comment.