Skip to content

Conversation

@marcosgriselli
Copy link
Contributor

@marcosgriselli marcosgriselli commented Oct 24, 2024

The linux CI job started failing after ubuntu-latest was updated
from: actions/runner-images@ubuntu22/20240908.1/images/ubuntu/Ubuntu2204-Readme.md
to: actions/runner-images@ubuntu22/20241006.1/images/ubuntu/Ubuntu2204-Readme.md

The error message was "The openStep format is unsupported on this platform" which comes from the new swift-foundation implementation

That functionality has now been back-ported to the state it was on Swift 5.10 on this PR swiftlang/swift-foundation#1002 so Linux test should pass whenever ubunutu-latest includes a swift version with the fix.

Skipping is not the most elegant solution but it's better than a 100% red CI since the tool will already fail for Swift 6+ in Linux and there's no way to workaround the problem in foundation.


func testSourceGenerator() {
func testSourceGenerator() throws {
#if os(Linux) && swift(<6.0.2)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swift version is constrained to ensure it tries to run again when a new release is out.

@marcosgriselli
Copy link
Contributor Author

marcosgriselli commented Oct 24, 2024

@yonaskolb let me know if you don't want to be skipping these. The alternative here is to run CI from a Linux container that has an older Swift version without this issue but in practice as of now the tool fails for people running on Swift 6+ on Linux.

@yonaskolb
Copy link
Owner

Great resolution @marcosgriselli, thank you

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.

2 participants