Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly specify the Catalina operating system version and update the default Xcode version in the test suite Workflow #18373

Merged

Conversation

jaebradley
Copy link
Contributor

@jaebradley jaebradley commented Dec 2, 2020

Summary

While the macos-latest GitHub Actions workflow label still is a valid reference for the macOS Catalina 10.15 virtual environment, with the advent of macOS Big Sur 11.x macos-latest may be a confusing label to use.

It might be clearer to simply use the explicit workflow label containing the major + minor version.

image

Additionally, this PR updates the job name, as the latest default Xcode version to ship with the macos-10.15 environment is actually 12.0.1 (and not 11 as the job name would suggest).

See: actions/runner-images#2056 and https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode

Issues When Attempting To Add Big Sur Job

As part of the changes in this PR, I wanted to also add some tests for Big Sur but failed to complete this task with a passing build.

What I found was interesting (and I could definitely be doing something incorrectly).

It is interesting to note that the the default Xcode version for the macos-11.0 GitHub Actions workflow label is 11.7.

Attempt adding macos-11.0 job without setting Xcode to 12.2 explicitly

When the job using Big Sur with the default Xcode version runs its configuration step, I see the following errors

image

Additional data:

Attempt adding macos-11.0 job after setting Xcode to 12.2 explicitly

After sudo xcode select-ing /Applications/Xcode_12.2.app, the configuration step runs successfully, but I see a test failure

image

Additional data:

Hopefully this section on investigating trying to add a job for Big Sur makes sense and is at least somewhat coherent. I could very well be doing something incorrectly but was hoping to get some feedback on what that "something" is, if possible.

@jaebradley jaebradley changed the title Explicitly use catalina in GitHub actions Explicitly specify the Catalina operating system version and update the default Xcode version in the test suite Workflow Dec 2, 2020
@khwilliamson khwilliamson merged commit 41b27f0 into Perl:blead Dec 8, 2020
@karenetheridge
Copy link
Member

This is excellent! thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants