Skip to content

Commit c1ba0c1

Browse files
committed
.github/workflows/ci.yml: disable real-time protection on Windows.
1 parent c7cf208 commit c1ba0c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424

25+
- name: Disable RTM
26+
if: ${{ runner.os == 'Windows' }}
27+
shell: powershell
28+
run: Set-MpPreference -DisableRealtimeMonitoring $true
29+
2530
- name: Get date
2631
id: get-date
2732
run: echo "date=$(date -u +%Y-%m)" >> $GITHUB_OUTPUT
@@ -41,6 +46,7 @@ jobs:
4146
lscpu 2>/dev/null && echo --- || true
4247
sysctl hw 2>/dev/null && echo --- || true
4348
env | sort
49+
powershell -command Get-MpPreference 2>/dev/null || true
4450
4551
- name: Rust
4652
shell: bash

0 commit comments

Comments
 (0)