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

Skip compiling plugins when skipping building #6696

Merged
merged 1 commit into from Jul 31, 2023

Conversation

neonichu
Copy link
Member

Sink shouldSkipBuilding down into build parameters, so we can respect it whereever we would be trying to build, e.g. when trying to build plugins during build planning.

resolves #6683

@neonichu neonichu self-assigned this Jul 11, 2023
@neonichu
Copy link
Member Author

@swift-ci please smoke test

Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

if/guard style and formatting nits, but otherwise LGTM

@MaxDesiatov
Copy link
Member

I wonder if this can be tested?

@neonichu
Copy link
Member Author

@swift-ci please smoke test

@neonichu
Copy link
Member Author

@swift-ci please smoke test windows

@neonichu
Copy link
Member Author

I wonder if this can be tested?

It looks like we have an existing test for --skip-build, maybe we can beef that up to include a plugin as well.

Sink `shouldSkipBuilding` down into build parameters, so we can respect it whereever we would be trying to build, e.g. when trying to build plugins during build planning.

resolves #6683

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
@neonichu neonichu force-pushed the skip-plugins-when-skipping-build branch from 99130fe to 171ea56 Compare July 31, 2023 19:16
@neonichu
Copy link
Member Author

@swift-ci please smoke test

@tomerd
Copy link
Member

tomerd commented Jul 31, 2023

@swift-ci please smoke test linux

@neonichu neonichu merged commit dd76ad4 into main Jul 31, 2023
5 checks passed
@neonichu neonichu deleted the skip-plugins-when-skipping-build branch July 31, 2023 22:51
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.

swift-test list --skip-build builds SwiftPM plugins
3 participants