Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These often take more than an hour to run on the CI… Let's see if splitting them helps here.
This will probably make the workflow definition more verbose. Indeed, keeping the OS-based build matrix and naively splitting the
native-tests
job intogenerate-launchers
(to generate the native images), andnative-tests-1
andnative-tests-2
(running each half the ITs with the launchers generated by the previous job) might be a problem: for example, it makes the Windows image generation block starting the ITs on Linux and macOS, even if there launchers are done being generated. And if the Windows launcher generation fails, no IT is run at all. That is, no ITs start running until launchers are successfully generated for all 3 OSes.That means, we should replace the matrix-based
native-tests
by 12 non matrix-based jobs:generate-linux-launcher
generate-macos-launcher
generate-windows-launcher
native-linux-tests-1
native-linux-tests-2
native-linux-tests-3
native-macos-tests-1
native-macos-tests-2
native-macos-tests-3
native-windows-tests-1
native-windows-tests-2
native-windows-tests-3
And
jvm-tests
by:jvm-tests-1
jvm-tests-2
jvm-tests-3
And
native-static-tests
andnative-mostly-static-tests
by:generate-static-launcher
generate-mostly-static-launcher
native-static-tests-1
native-static-tests-2
native-static-tests-3
native-mostly-static-tests-1
native-mostly-static-tests-2
native-mostly-static-tests-3