@@ -70,6 +70,8 @@ test:linux:
70
70
artifacts :
71
71
paths :
72
72
- t/failed-test-artifacts
73
+ reports :
74
+ junit : build/meson-logs/testlog.junit.xml
73
75
when : on_failure
74
76
75
77
test:osx :
@@ -110,16 +112,24 @@ test:osx:
110
112
artifacts :
111
113
paths :
112
114
- t/failed-test-artifacts
115
+ reports :
116
+ junit : build/meson-logs/testlog.junit.xml
113
117
when : on_failure
114
118
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
+
115
125
build:mingw64 :
116
126
stage : build
117
127
tags :
118
128
- saas-windows-medium-amd64
119
129
variables :
120
130
NO_PERL : 1
121
131
before_script :
122
- - Set-MpPreference -DisableRealtimeMonitoring $true
132
+ - *windows_before_script
123
133
- ./ci/install-sdk.ps1 -directory "git-sdk"
124
134
script :
125
135
- git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
@@ -136,7 +146,7 @@ test:mingw64:
136
146
- job : " build:mingw64"
137
147
artifacts : true
138
148
before_script :
139
- - Set-MpPreference -DisableRealtimeMonitoring $true
149
+ - *windows_before_script
140
150
- git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
141
151
- New-Item -Path .git/info -ItemType Directory
142
152
- New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
@@ -150,18 +160,10 @@ test:mingw64:
150
160
tags :
151
161
- saas-windows-medium-amd64
152
162
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
155
165
- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
156
166
- 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
165
167
166
168
build:msvc-meson :
167
169
extends : .msvc-meson
@@ -183,6 +185,9 @@ test:msvc-meson:
183
185
script :
184
186
- meson test -C build --no-rebuild --print-errorlogs --slice $Env:CI_NODE_INDEX/$Env:CI_NODE_TOTAL
185
187
parallel : 10
188
+ artifacts :
189
+ reports :
190
+ junit : build/meson-logs/testlog.junit.xml
186
191
187
192
test:fuzz-smoke-tests :
188
193
image : ubuntu:latest
0 commit comments