mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
Merge pull request #605 from ddiss/windows_ci
Update Github CI Windows runner
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -27,9 +27,9 @@ jobs:
|
||||
runs_on: ubuntu-22.04
|
||||
shell: bash
|
||||
build_options: "MMU=1 MMU_KUNIT=1 kasan=yes"
|
||||
- displayTargetName: windows-2019
|
||||
- displayTargetName: windows-2022
|
||||
os: windows
|
||||
runs_on: windows-2019
|
||||
runs_on: windows-2022
|
||||
pip_option: --break-system-packages
|
||||
shell: msys2 {0}
|
||||
- displayTargetName: clang-build
|
||||
@@ -76,12 +76,13 @@ jobs:
|
||||
- name: Install openvpn
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
env:
|
||||
file: "OpenVPN-2.6.14-I001-amd64.msi"
|
||||
log: "install.log"
|
||||
run: |
|
||||
curl -L -O https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.3-I601-amd64.msi
|
||||
$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
|
||||
curl -L -O "https://swupdate.openvpn.org/community/releases/${{ env.file }}"
|
||||
$procMain = Start-Process "msiexec" "/i ${{ env.file }} /qn /l*! ${{ env.log }}" -NoNewWindow -PassThru
|
||||
$procLog = Start-Process "powershell" "Get-Content -Path ${{ env.log }} -Wait" -NoNewWindow -PassThru
|
||||
$procMain.WaitForExit()
|
||||
$procLog.Kill()
|
||||
- name: Partial Clone
|
||||
|
||||
Reference in New Issue
Block a user