Update cmake-windows.yml

This commit is contained in:
RedxLus 2021-01-17 23:54:34 +01:00
parent 54c8715972
commit 556b763e81

View file

@ -34,12 +34,11 @@ jobs:
- uses: msys2/setup-msys2@v2 - uses: msys2/setup-msys2@v2
- shell: powershell - shell: powershell
run: msys2 -c 'pacman -Syu' run: msys2 -c 'pacman -Syu --noconfirm'
- shell: powershell - shell: powershell
run: msys2 -c 'pacman -S mingw-w64-x86_64-gcc git make --noconfirm' run: msys2 -c 'pacman -S mingw-w64-x86_64-gcc git make --noconfirm'
- shell: powershell - shell: powershell
run: msys2 -c 'mkdir xmrig/build && cd xmrig/build' run: msys2 -c 'mkdir xmrig/build && cd xmrig/build'
- shell: powershell - shell: powershell
run: msys2 -c '$program .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64' run: msys2 -c '"c:\Program Files\CMake\bin\cmake.exe" .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64'
env:
program: '"c:\Program Files\CMake\bin\cmake.exe"'