mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-30 17:56:13 -05:00
ci: verify adapter DNS on a native Windows runner
This commit is contained in:
1 file changed
+22
@@ -0,0 +1,22 @@
|
||||
name: Windows adapter DNS check
|
||||
on:
|
||||
push:
|
||||
branches: [ci/windows-adapter-dns-native]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
network:
|
||||
runs-on: windows-2022
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: dtolnay/[email protected]
|
||||
- name: Test native Wintun adapter configuration
|
||||
shell: pwsh
|
||||
run: |
|
||||
$zip = Join-Path $env:RUNNER_TEMP 'wintun.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' }
|
||||
Expand-Archive $zip $env:RUNNER_TEMP
|
||||
$env:GP_TEST_WINTUN_DLL = Join-Path $env:RUNNER_TEMP 'wintun/bin/amd64/wintun.dll'
|
||||
cargo +1.97.0 test --locked -p gpvpnc --test windows_network -- --ignored --nocapture
|
||||
Reference in new issue
Block a user