Add release-mode test runs for macOS and Linux#134
Add release-mode test runs for macOS and Linux#134natecook1000 wants to merge 1 commit intoswiftlang:mainfrom
Conversation
6fcd646 to
2cc0791
Compare
2cc0791 to
28ea3dc
Compare
|
Why not just run in release always? |
Most packages don't support building tests in release mode due to |
|
|
|
Huh, that isn't my experience! I thought it would just be easier to not block on this for packages that couldn't support it fully. |
|
I think you need to pass |
|
FWIW even with |
|
The way to enable @testable imports even in release builds is to use |
This adds a
Build / Test [release]step to the tests for macOS and Linux, so that tests can be run in both modes. It includes new inputs for:macos_release_build_command(default:xcrun swift test -c release)linux_release_build_command(default:swift test -c release)enable_release_tests(default:false)