-
Notifications
You must be signed in to change notification settings - Fork 10.5k
WIP: Create a unified build for (swift-)foundation-tests #79862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@swift-ci Please smoke test Linux |
a4e3c3b
to
47261ab
Compare
@swift-ci Please smoke test Linux |
47261ab
to
e78e5fe
Compare
@swift-ci Please test Linux |
e78e5fe
to
1170bc5
Compare
@swift-ci Please smoke test Linux |
We can’t add the tests to the general unified build because they use testable imports and building a package with testable imports also re-builds all of its dependencies with testable imports (swiftlang/swift-package-manager#8344) and is thus incompatible with the other package’s unified build. But we should still be able to share build products between corelibs-foundation tests and swift-foundation-tests.
1170bc5
to
db538f6
Compare
@swift-ci Please smoke test Linux |
OK, this seems to be trickier than I initially thought because: ' swift-corelibs-foundation' requires the 'plutil executable Possible solutions are (in no particular order):
|
I implemented 2. in #78390, some data on how much CI time it saved there. |
We can’t add the tests to the general unified build because they use testable imports and building a package with testable imports also re-builds all of its dependencies with testable imports (swiftlang/swift-package-manager#8344) and is thus incompatible with the other package’s unified build. But we should still be able to share build products between corelibs-foundation tests and swift-foundation-tests.