Fix test target compilation for WebAssembly#1348
Merged
Merged
Conversation
owenv
commented
Apr 28, 2026
Collaborator
- Build test targets as static archives when targeting WebAssembly
- Ensure test runners use --whole-archive when incorporating static archives so we don't drop swift-testing tests
- Refactor handling of search paths vs direct inputs when constructing archiver arguments
- Fix an issue where the generic unix test product type wasn't setting ENABLE_TESTING_SEARCH_PATHS correctly
Collaborator
Author
|
@swift-ci test |
Collaborator
Author
|
@swift-ci test |
jakepetroules
approved these changes
Apr 28, 2026
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 29, 2026
Updated default build command for Android SDK to use 'swift build' instead of 'swift build --build-system native'. The 4/27 snapshot contains the requisite changes for Android to work. For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning.
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 29, 2026
Updated default build command for Android SDK to use 'swift build' instead of 'swift build --build-system native'. The 4/27 snapshot contains the requisite changes for Android to work. For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning.
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 29, 2026
Updated default build command for Android SDK to use 'swift build' instead of 'swift build --build-system native'. The 4/27 snapshot contains the requisite changes for Android to work. For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning.
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 29, 2026
Updated default build command for Android SDK to use 'swift build' instead of 'swift build --build-system native'. The 4/27 snapshot contains the requisite changes for Android to work. For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning.
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 29, 2026
Updated default build command for Android SDK to use 'swift build' instead of 'swift build --build-system native'. The 4/27 snapshot contains the requisite changes for Android to work. For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning.
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
Apr 30, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 1, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 1, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
jakepetroules
added a commit
to jakepetroules/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
justice-adams-apple
pushed a commit
to swiftlang/github-workflows
that referenced
this pull request
May 12, 2026
- Change default build command to use 'swift build' instead of 'swift build --build-system native' (the 4/27 snapshot contains the requisite changes for Android) - Use the correct host toolchain for Android build/test - Add mention of the specific host SDK being used to build For Wasm, we want to wait until swiftlang/swift-build#1348 lands before unpinning. Co-authored-by: Marc Prud'hommeaux <mwp1@cornell.edu>
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.