[6.4] GHA: Enable Testing on macOS and Linux#10007
Draft
bkhouri wants to merge 2 commits into
Draft
Conversation
32c0512 to
faab44c
Compare
Contributor
Author
|
@swift-ci test |
1 task
add1f66 to
290050b
Compare
bkhouri
commented
May 4, 2026
| func testAsyncStreamHighLevelAPI() async throws { | ||
| // rdar://133548796 | ||
| try XCTSkipIfPlatformCI() | ||
| try XCTSkipOnAmazonLinux2(because: "Test process crashes") |
Contributor
Author
There was a problem hiding this comment.
chore (blocking): Need to fix the root cause behind the process crash.
|
|
||
| let newSdkPathStr = "/tmp/../\(sdkPathStr)" | ||
| // Perform a full build again because SDK changed. | ||
| await withKnownIssue( |
Contributor
Author
There was a problem hiding this comment.
chore (blocking): Need to fix the root cause behind the GitHub Actions failure.
| stderr.contains("was not compiled for testing") || stderr.contains("ignore swiftmodule built without '-enable-testing'"), | ||
| "got stdout: \(stdout), stderr: \(stderr)", | ||
| ) | ||
| withKnownIssue( |
Contributor
Author
There was a problem hiding this comment.
chore (blocking): Need to determine why this is failing in GitHub Actions. could this be a difference between the open source toolchain vs the Xcode toolchain?
616a236 to
1296226
Compare
bkhouri
commented
May 12, 2026
| // rdar://133548796 | ||
| try XCTSkipIfPlatformCI() | ||
| #if compiler(<6.3) | ||
| try XCTSkipOnUbuntu22_04_jammy(because: "The XCTest binary crashes in GitHub Actions") |
Contributor
Author
There was a problem hiding this comment.
chore (blocking): we also need to skip this on AL2 as it sometime causes the process to crash in GitHub Actions. encountered with the aarch64 architecture
- We need to remove the custom
XCTSkipcalls.
1296226 to
b71443a
Compare
Update GitHub actions to also execute the automated tests on macOS and Linux platforms. Relates to: swiftlang#9427 Issue: rdar://165491718
b71443a to
600c1c0
Compare
600c1c0 to
3d71027
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update GitHub actions to also execute the automated tests on macOS and Linux platforms.
Fixes: #9427
Issue: rdar://165491718
Depends on #10017
withKnownIssueis added