You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new job to GitHub Actions and GitLab CI that builds and tests
Meson-based builds with Visual Studio. While the build job is mandatory,
the test job is marked as "manual" so that it doesn't run by default. We
already have a bunch of Windows-based jobs, and the computational
overhead that these cause is simply out of proportion to run the test
suite twice.
A couple notes:
- We disable Perl. This is because we pick up Perl from Git for
Windows, which outputs different paths ("/c/" instead of "C:\") than
what we expect in our tests.
- We don't use the Git for Windows SDK. Instead, the build only
depends on Visual Studio, Meson and Git for Windows. All the other
dependencies like curl, pcre2 and zlib get pulled in and compiled
automatically by Meson and thus do not have to be provided by the
system.
- We open-code "ci/run-test-slice.sh". This is because we only have
direct access to PowerShell, so we manually implement the logic.
There is an upstream pull request for the Meson build system [1] to
implement test slicing in Meson directly.
All tests are passing.
[1]: mesonbuild/meson#14092
Signed-off-by: Patrick Steinhardt <ps@pks.im>
0 commit comments