Skip to content

Commit 62b7895

Browse files
phil-oppjosephlr
andauthored
Fix CI tests on Windows (#297)
* ci: Use choco to install qemu * Version 6.0.0 corresponds to release on 2021.5.5 Co-authored-by: Joe Richey <[email protected]>
1 parent f8a3d70 commit 62b7895

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,10 @@ jobs:
133133
HOMEBREW_NO_AUTO_UPDATE: 1
134134
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
135135
HOMEBREW_NO_INSTALL_CLEANUP: 1
136-
- name: Install Scoop (Windows)
137-
run: |
138-
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
139-
echo "$HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
140-
if: runner.os == 'Windows'
141-
shell: pwsh
142136
- name: Install QEMU (Windows)
143-
run: scoop install qemu
137+
run: |
138+
choco install qemu --version 2021.5.5
139+
echo "$Env:Programfiles\qemu" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
144140
if: runner.os == 'Windows'
145141
shell: pwsh
146142

0 commit comments

Comments
 (0)