@@ -128,7 +128,7 @@ jobs:
128
128
run : sudo make uninstall
129
129
130
130
windows :
131
- name : " Windows tests"
131
+ name : " Windows tests (WSL2) "
132
132
runs-on : windows-2022-8-cores
133
133
timeout-minutes : 30
134
134
steps :
@@ -175,6 +175,36 @@ jobs:
175
175
$env:_LIMA_WINDOWS_EXTRA_PATH = 'C:\Program Files\Git\usr\bin'
176
176
bash.exe -c "./hack/test-templates.sh templates/experimental/wsl2.yaml"
177
177
178
+ windows-qemu :
179
+ name : " Windows tests (QEMU)"
180
+ runs-on : windows-2022-8-cores
181
+ timeout-minutes : 30
182
+ steps :
183
+ - name : Set gitconfig
184
+ run : |
185
+ git config --global core.autocrlf false
186
+ git config --global core.eol lf
187
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
188
+ with :
189
+ fetch-depth : 1
190
+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
191
+ with :
192
+ go-version : 1.24.x
193
+ - name : Unit tests
194
+ run : go test -v ./...
195
+ - name : Make
196
+ run : make
197
+ - name : Integration tests (QEMU, Windows host)
198
+ run : |
199
+ $env:PATH = "$pwd\_output\bin;" + 'C:\msys64\usr\bin;' + 'C:\msys64\clang64\bin;' + $env:PATH
200
+ pacman -Sy --noconfirm openbsd-netcat diffutils mingw-w64-clang-x86_64-qemu
201
+ $env:MSYS2_ENV_CONV_EXCL = 'HOME_HOST;HOME_GUEST;_LIMA_WINDOWS_EXTRA_PATH'
202
+ $env:HOME_HOST = $(cygpath.exe "$env:USERPROFILE")
203
+ $env:HOME_GUEST = "$env:HOME_HOST"
204
+ $env:LIMACTL_CREATE_ARGS = '--vm-type=qemu'
205
+ $env:_LIMA_WINDOWS_EXTRA_PATH = 'C:\Program Files\Git\usr\bin'
206
+ bash.exe -c "./hack/test-templates.sh templates/experimental/default-windows.yaml"
207
+
178
208
qemu :
179
209
name : " Integration tests (QEMU, macOS host)"
180
210
runs-on : macos-15-large # Intel
0 commit comments