Skip to content

Commit

Permalink
Merge pull request torvalds#522 from thehajime/fix-win10-ci
Browse files Browse the repository at this point in the history
lkl: fix openvpn installation issue on windows CI
  • Loading branch information
thehajime authored Jun 9, 2023
2 parents 558acc3 + 21db97c commit 2bdd985
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ jobs:
run: pip install yamlish junit-xml
- name: Install openvpn
if: runner.os == 'Windows'
shell: msys2 {0}
shell: pwsh
run: |
curl -L -O https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.3-I601-amd64.msi
cmd.exe /c "start /wait msiexec /i OpenVPN-2.5.3-I601-amd64.msi ADDLOCAL=OpenVPN,Drivers.TAPWindows6,Drivers /qn /l*v c:\\msilog.txt"
cat c:\\msilog.txt
$file = "OpenVPN-2.5.3-I601-amd64.msi"
$log = "install.log"
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
$procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
$procMain.WaitForExit()
$procLog.Kill()
- name: Partial Clone
if: runner.os == 'Windows'
shell: msys2 {0}
Expand Down

0 comments on commit 2bdd985

Please sign in to comment.