How to change Xcode/CLT version in CI/Github Actions
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Tue Nov 21 14:46:44 UTC 2023
On Tue, Nov 21, 2023 at 1:08 AM Joshua Root <jmr at macports.org> wrote:
> On 21/11/2023 12:51, Dave Allured - NOAA Affiliate via macports-dev wrote:
> > Is there an easy way to select a specific Xcode or CLT version for CI
> > workflows? Developers could insert such temporary control into
> > individual PR's, to be excluded upon merging. Alternatively, Macports
> > could insert this into macports-ports/master for community benefit,
> > while we ride out the wait for Apple fixes or other solutions.
>
> Any problems seen on CI due to Xcode 15 will also be seen by end users
> running that Xcode version. So any necessary workarounds should be
> applied in ports based on $xcodeversion and/or $xcodecltversion.
>
> It's probably possible to install a different Xcode version as part of
> the CI bootstrap script, but that would eat up a lot of build minutes
> and would just be hiding the problems that users will be seeing if
> they're not worked around.
>
There is no possible port workaround for an Xcode/CLT mismatch such as the
current situation on CI OS 13 which I mentioned earlier. CI OS 13 is in an
illegal condition, according to Macports specifications. Since CI OS 13 is
required to submit pull requests, this effectively blocks all portfile
development. Extra build minutes would be well justified in the short
term, to work around this illegal condition. If you agree, then please
offer a control for the CLT or Xcode version, or else some other reasonable
solution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20231121/c3997cc2/attachment.htm>
More information about the macports-dev
mailing list