Skip to content

Commit c42498d

Browse files
committed
Disable Windows Defender in CI
1 parent 252e883 commit c42498d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/breakage-against-windows-ponyc-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
name: Test against recent ponyc release on Windows
1313
runs-on: windows-2025
1414
steps:
15+
- name: Disable Windows Defender
16+
run: Set-MpPreference -DisableRealtimeMonitoring $true
1517
- uses: actions/checkout@v6.0.2
1618
- name: Test against recent ponyc release on Windows
1719
run: |

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
name: Windows x86-64 with most recent ponyc release
6262
runs-on: windows-2025
6363
steps:
64+
- name: Disable Windows Defender
65+
run: Set-MpPreference -DisableRealtimeMonitoring $true
6466
- uses: actions/checkout@v6.0.2
6567
- name: Test against recent ponyc release on Windows
6668
run: |
@@ -90,6 +92,8 @@ jobs:
9092
name: Windows arm64 with most recent ponyc release
9193
runs-on: windows-11-arm
9294
steps:
95+
- name: Disable Windows Defender
96+
run: Set-MpPreference -DisableRealtimeMonitoring $true
9397
- uses: actions/checkout@v6.0.2
9498
- name: Test against recent ponyc release on Windows
9599
run: |

0 commit comments

Comments
 (0)