Update cmake-windows.yml

This commit is contained in:
RedxLus 2021-01-18 00:02:28 +01:00
parent 556b763e81
commit a9929b38db

View file

@ -23,7 +23,10 @@ jobs:
run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- shell: powershell
run: choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
run: choco install cmake --installargs 'ADD_CMAKE_TO_PATH=User'
- shell: powershell
run: refreshenv
- name: Clone repos
shell: powershell
@ -40,5 +43,5 @@ jobs:
- shell: powershell
run: msys2 -c 'mkdir xmrig/build && cd xmrig/build'
- shell: powershell
run: msys2 -c '"c:\Program Files\CMake\bin\cmake.exe" .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64'
run: msys2 -c 'cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64'