Skip to content

Commit

Permalink
ci(windows): update devcon
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Mar 26, 2024
1 parent 89e8b96 commit 60b2589
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ jobs:

- name: Prepare tests
id: prepare-tests
if: false # todo: DirectX11 is not available, so even software encoder fails
# if: false # todo: DirectX11 is not available, so even software encoder fails
run: |
# function to download and extract a zip file
function DownloadAndExtract {
Expand Down Expand Up @@ -910,16 +910,25 @@ jobs:
# create the virtual display
./deviceinstaller64 enableidd 1
# move up a directory
Set-Location -Path ../..
# install devcon
choco install devcon.portable
DownloadAndExtract `
-Uri "https://github.com/Drawbackz/DevCon-Installer/releases/download/1.4-rc/Devcon.Installer.zip" `
-OutFile "Devcon.Installer.zip"
Set-Location -Path Devcon.Installer
& ".\Devcon Installer.exe" `
'install' `
'-hash' '6ECFAF7042C525DDB6C0BF0501BECFBCE85CBDF2A33B1BCA67734FEA567AF3B8' `
'-addpath' '-update'
# disable Hyper-V Video
# https://stackoverflow.com/a/59490940
C:\ProgramData\chocolatey\lib\devcon.portable\devcon64.exe `
disable "VMBUS\{da0a7802-e377-4aac-8e77-0558eb1073f8}"
Devcon.exe disable "VMBUS\{da0a7802-e377-4aac-8e77-0558eb1073f8}"
# move up a directory
Set-Location -Path ../..
Set-Location -Path ..
# multi monitor tool
DownloadAndExtract `
Expand Down

0 comments on commit 60b2589

Please sign in to comment.