Uh oh!
There was an error while loading. Please reload this page.
Add release-mode test runs for macOS and Linux - #134
Conversation
6fcd646 to
2cc0791Compare2cc0791 to
28ea3dcComparerauhul
commented
Jun 16, 2025
Why not just run in release always? |
FranzBusch
commented
Jun 16, 2025
Most packages don't support building tests in release mode due to |
rauhul
commented
Jun 16, 2025
|
natecook1000
commented
Jun 17, 2025
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. |
ahoppen
commented
Jun 17, 2025
I think you need to pass |
jrflat
commented
Jul 31, 2025
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)