Skip to content
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

Support building only tests using SwiftPM #851

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 12, 2024

Companion of swiftlang/swift#76900


This allows us to build everything required for the executable using CMake and only the test targets using SwiftPM, enabling us to run tests on Windows from build.ps1 with minimal overhead.

Compared to #841, this allows us to re-use SwiftFormat.dll from the CMake build on Windows, reducing the amount of code that needs to get built and testing the libraries that will actually be shipped in the toolchain.

This allows us to build everything required for the executable using CMake and only the test targets using SwiftPM, enabling us to run tests on Windows from build.ps1 with minimal overhead.
@ahoppen ahoppen merged commit fa5530c into swiftlang:main Oct 14, 2024
15 checks passed
@ahoppen ahoppen deleted the windows-build branch October 14, 2024 16:17
ahoppen added a commit that referenced this pull request Oct 14, 2024
Allow building against a single dynamic swift-syntax library 🚥#851
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