Skip to content

build-using-self: Add ability to pass extra build/run/test arguments #8723

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

Merged

Conversation

kcieplak
Copy link
Contributor

Add the ability to inject arbitrary arguments to the invocations of swift <build|run|test> from the build-using-self-script.
Add a boolean flag to skip running the bootstrap subscript. Default is to run it.

This allows one to add options like '--jobs' or '--event-stream-output-path' .
Thus allowing for different use cases in pipelines, like collection of test output json to a specific path.

For example:
build-using-self -v --skip-bootstrap --additional-test-args '--event-stream-output-path spm-test.json'

Add the ability to inject arbitrary arguments to the
invocations of swift <build|run|test>.  This allows
one to add things like '--jobs' or '--event-stream-output-path'
for test json output.

Also add a boolean flag to skip running the bootstrap subscript.
Default is to run it.
@kcieplak
Copy link
Contributor Author

@swift-ci test

@kcieplak
Copy link
Contributor Author

@swift-ci test windows

@bripeticca bripeticca merged commit 4e45170 into swiftlang:main May 27, 2025
6 checks passed
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