test: run the DNS fixture on Windows 11 ARM64

This commit is contained in:
Kevin Yue committed 2026-11-30 23:28:54 +08:00
1 parent e63de466b3
commit 341e74683f
1 file changed
+2 -2
@@ -6,7 +6,7 @@ permissions:
contents: read contents: read
jobs: jobs:
network: network:
runs-on: windows-2022 runs-on: windows-11-arm
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -18,5 +18,5 @@ jobs:
Invoke-WebRequest 'https://www.wintun.net/builds/wintun-0.14.1.zip' -OutFile $zip Invoke-WebRequest 'https://www.wintun.net/builds/wintun-0.14.1.zip' -OutFile $zip
if ((Get-FileHash $zip).Hash -ne '07C256185D6EE3652E09FA55C0B673E2624B565E02C4B9091C79CA7D2F24EF51') { throw 'Wintun checksum mismatch' } if ((Get-FileHash $zip).Hash -ne '07C256185D6EE3652E09FA55C0B673E2624B565E02C4B9091C79CA7D2F24EF51') { throw 'Wintun checksum mismatch' }
Expand-Archive $zip $env:RUNNER_TEMP Expand-Archive $zip $env:RUNNER_TEMP
$env:GP_TEST_WINTUN_DLL = Join-Path $env:RUNNER_TEMP 'wintun/bin/amd64/wintun.dll' $env:GP_TEST_WINTUN_DLL = Join-Path $env:RUNNER_TEMP 'wintun/bin/arm64/wintun.dll'
cargo +1.97.0 test --locked -p gpvpnc --test windows_network -- --ignored --nocapture --test-threads=1 cargo +1.97.0 test --locked -p gpvpnc --test windows_network -- --ignored --nocapture --test-threads=1