yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.08k stars 820 forks source link

Skip failing test on Linux until upstream fix #1517

Closed marcosgriselli closed 3 weeks ago

marcosgriselli commented 4 weeks ago

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 https://github.com/swiftlang/swift-foundation/pull/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.

marcosgriselli commented 4 weeks ago

@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 commented 3 weeks ago

Great resolution @marcosgriselli, thank you