@@ -70,6 +70,8 @@ test:linux:
7070 artifacts :
7171 paths :
7272 - t/failed-test-artifacts
73+ reports :
74+ junit : build/meson-logs/testlog.junit.xml
7375 when : on_failure
7476
7577test:osx :
@@ -110,16 +112,24 @@ test:osx:
110112 artifacts :
111113 paths :
112114 - t/failed-test-artifacts
115+ reports :
116+ junit : build/meson-logs/testlog.junit.xml
113117 when : on_failure
114118
119+ .windows_before_script : &windows_before_script
120+ # Disabling realtime monitoring fails on some of the runners, but it
121+ # significantly speeds up test execution in the case where it works. We thus
122+ # try our luck, but ignore any failures.
123+ - Set-MpPreference -DisableRealtimeMonitoring $true; $true
124+
115125build:mingw64 :
116126 stage : build
117127 tags :
118128 - saas-windows-medium-amd64
119129 variables :
120130 NO_PERL : 1
121131 before_script :
122- - Set-MpPreference -DisableRealtimeMonitoring $true
132+ - *windows_before_script
123133 - ./ci/install-sdk.ps1 -directory "git-sdk"
124134 script :
125135 - git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
@@ -136,7 +146,7 @@ test:mingw64:
136146 - job : " build:mingw64"
137147 artifacts : true
138148 before_script :
139- - Set-MpPreference -DisableRealtimeMonitoring $true
149+ - *windows_before_script
140150 - git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
141151 - New-Item -Path .git/info -ItemType Directory
142152 - New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
@@ -150,18 +160,10 @@ test:mingw64:
150160 tags :
151161 - saas-windows-medium-amd64
152162 before_script :
153- - Set-MpPreference -DisableRealtimeMonitoring $true
154- - choco install -y git meson ninja openssl
163+ - *windows_before_script
164+ - choco install -y git meson ninja
155165 - Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
156166 - refreshenv
157- # The certificate store for Python on Windows is broken and fails to fetch
158- # certificates, see https://bugs.python.org/issue36011. This seems to
159- # mostly be an issue with how the GitLab image is set up as it is a
160- # non-issue on GitHub Actions. Work around the issue by importing
161- # cetrificates manually.
162- - Invoke-WebRequest https://curl.haxx.se/ca/cacert.pem -OutFile cacert.pem
163- - openssl pkcs12 -export -nokeys -in cacert.pem -out certs.pfx -passout "pass:"
164- - Import-PfxCertificate -CertStoreLocation Cert:\LocalMachine\Root -FilePath certs.pfx
165167
166168build:msvc-meson :
167169 extends : .msvc-meson
@@ -183,6 +185,9 @@ test:msvc-meson:
183185 script :
184186 - meson test -C build --no-rebuild --print-errorlogs --slice $Env:CI_NODE_INDEX/$Env:CI_NODE_TOTAL
185187 parallel : 10
188+ artifacts :
189+ reports :
190+ junit : build/meson-logs/testlog.junit.xml
186191
187192test:fuzz-smoke-tests :
188193 image : ubuntu:latest
0 commit comments