Merge branch 'ps/gitlab-ci-disable-windows-monitoring' into maint-2.51
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 jobsmaint
commit
70b475f938
|
|
@ -119,6 +119,7 @@ build:mingw64:
|
||||||
variables:
|
variables:
|
||||||
NO_PERL: 1
|
NO_PERL: 1
|
||||||
before_script:
|
before_script:
|
||||||
|
- Set-MpPreference -DisableRealtimeMonitoring $true
|
||||||
- ./ci/install-sdk.ps1 -directory "git-sdk"
|
- ./ci/install-sdk.ps1 -directory "git-sdk"
|
||||||
script:
|
script:
|
||||||
- git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
|
- git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
|
||||||
|
|
@ -135,6 +136,7 @@ test:mingw64:
|
||||||
- job: "build:mingw64"
|
- job: "build:mingw64"
|
||||||
artifacts: true
|
artifacts: true
|
||||||
before_script:
|
before_script:
|
||||||
|
- Set-MpPreference -DisableRealtimeMonitoring $true
|
||||||
- git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
|
- git-sdk/usr/bin/bash.exe -l -c 'tar xf artifacts/artifacts.tar.gz'
|
||||||
- New-Item -Path .git/info -ItemType Directory
|
- New-Item -Path .git/info -ItemType Directory
|
||||||
- New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
|
- New-Item .git/info/exclude -ItemType File -Value "/git-sdk"
|
||||||
|
|
@ -148,6 +150,7 @@ test:mingw64:
|
||||||
tags:
|
tags:
|
||||||
- saas-windows-medium-amd64
|
- saas-windows-medium-amd64
|
||||||
before_script:
|
before_script:
|
||||||
|
- Set-MpPreference -DisableRealtimeMonitoring $true
|
||||||
- choco install -y git meson ninja openssl
|
- choco install -y git meson ninja openssl
|
||||||
- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
|
- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
|
||||||
- refreshenv
|
- refreshenv
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue