Update cmake-windows.yml

This commit is contained in:
RedxLus 2021-01-13 05:39:16 +01:00
parent 6e5918e6de
commit e769b08250

View file

@ -20,9 +20,10 @@ jobs:
- name: Install choco
shell: powershell
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'))
choco -?
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
- name: Clone repos
shell: powershell
@ -39,4 +40,4 @@ jobs:
- shell: powershell
run: msys2 -c 'mkdir xmrig/build && cd xmrig/build'
- shell: powershell
run: msys2 -c 'cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x64'
run: msys2 -c 'cmake .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64'