File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,26 @@ jobs:
4242 sudo apt update -qq
4343 sudo apt install -qq ocl-icd-opencl-dev pocl-opencl-icd
4444
45- - name : Install OpenCL - Windows
45+ - name : Install OpenCL - Windows 1
4646 if : matrix.os == 'windows-2022'
4747 run : |
4848 curl -o opencl-installer.exe 'https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b6dccdb7-b503-41ea-bd4b-a78e9c2d8dd6/w_opencl_runtime_p_2025.1.0.972.exe'
4949 ./opencl-installer.exe --s --x --f ocl
5050 cp "./ocl/w_opencl_runtime_p_2025.1.0.972.msi" "./opencl-rt.msi"
51- echo "Start Msiexec"
52- msiexec /i "opencl-rt.msi" /qn /passive /quiet
53- echo "End Msiexec"
54-
51+ # echo "Start Msiexec"
52+ # msiexec /i "opencl-rt.msi" /qn /passive /quiet
53+ # echo "End Msiexec"
54+
55+ - name : Install OpenCL - Windows 2
56+ shell : pwsh
57+ if : matrix.os == 'windows-2022'
58+ run : |
59+ $file = "opencl-rt.msi"
60+ $log = "install.log"
61+ $procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
62+ $procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
63+ $procMain.WaitForExit()
64+ $procLog.Kill()
5565
5666 - name : Install OpenCL - Ubuntu
5767 if : matrix.os == 'ubuntu-22.04'
You can’t perform that action at this time.
0 commit comments