Skip to content

Commit ca3999d

Browse files
committed
Merge branch 'ps/gitlab-ci-disable-windows-monitoring'
Windows "real-time monitoring" interferes with the execution of tests and affects negatively in both correctness and performance, which has been disabled in Gitlab CI. * ps/gitlab-ci-disable-windows-monitoring: gitlab-ci: disable realtime monitoring to unbreak Windows jobs
2 parents 07f2947 + 608cf5b commit ca3999d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ build:mingw64:
119119
variables:
120120
NO_PERL: 1
121121
before_script:
122+
- Set-MpPreference -DisableRealtimeMonitoring $true
122123
- ./ci/install-sdk.ps1 -directory "git-sdk"
123124
script:
124125
- git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
@@ -135,6 +136,7 @@ test:mingw64:
135136
- job: "build:mingw64"
136137
artifacts: true
137138
before_script:
139+
- Set-MpPreference -DisableRealtimeMonitoring $true
138140
- git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
139141
- New-Item -Path .git/info -ItemType Directory
140142
- New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
@@ -148,6 +150,7 @@ test:mingw64:
148150
tags:
149151
- saas-windows-medium-amd64
150152
before_script:
153+
- Set-MpPreference -DisableRealtimeMonitoring $true
151154
- choco install -y git meson ninja openssl
152155
- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
153156
- refreshenv

0 commit comments

Comments
 (0)