mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
CI: Use choco to install QEMU 6.0.0
This should fix our CI build errors. We install a pinned version of QEMU since the latest 6.1 pre-releases appear to have some problems too.
This commit is contained in:
10
.github/workflows/code.yml
vendored
10
.github/workflows/code.yml
vendored
@@ -78,14 +78,10 @@ jobs:
|
|||||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
|
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
|
||||||
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
HOMEBREW_NO_INSTALL_CLEANUP: 1
|
||||||
- name: Install Scoop (Windows)
|
|
||||||
run: |
|
|
||||||
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
|
|
||||||
echo "$HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
|
||||||
if: runner.os == 'Windows'
|
|
||||||
shell: pwsh
|
|
||||||
- name: Install QEMU (Windows)
|
- name: Install QEMU (Windows)
|
||||||
run: scoop install qemu
|
run: |
|
||||||
|
choco install qemu --version 2021.5.5
|
||||||
|
echo "$Env:Programfiles\qemu" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
- name: "Print QEMU Version"
|
- name: "Print QEMU Version"
|
||||||
|
|||||||
Reference in New Issue
Block a user