Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

No description provided.

@MaxDesiatov MaxDesiatov changed the title Add Wasm Swift SDK checks for swift run and swift test Add Wasm Swift SDK checks for swift run Sep 19, 2025
Enabling this check requires swiftlang/swift-package-manager#9114 to be merged first, which is currently failing due to an unfixed regression on `main`.
@MaxDesiatov
Copy link
Contributor Author

Verified as passing in https://ci.swift.org/job/swift-PR-Linux-smoke-test/22601/

Comment on lines +50 to +52
RUN: find %{swiftpm_homedir}/ -mindepth 1 -maxdepth 1 | xargs rm -rf
RUN: %{swift-sdk} list | %{FileCheck} --check-prefix CHECK-SDK-LIST-FINAL %s
CHECK-SDK-LIST-FINAL: No Swift SDKs are currently installed.
Copy link
Member

Choose a reason for hiding this comment

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

It's a bit scary to remove the shared Swift SDK directory in a test tbh 😅 How about isolating SDK installation directory by --swift-sdks-path %t/swift-sdks or whatever?

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