From 9b067fa1ea261cb00efbedf48536dd03c1be6b78 Mon Sep 17 00:00:00 2001 From: RedxLus Date: Tue, 26 Jan 2021 00:24:12 +0100 Subject: [PATCH] Update cmake-windows.yml --- .github/workflows/cmake-windows.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake-windows.yml b/.github/workflows/cmake-windows.yml index d5f04a53..ce41a077 100644 --- a/.github/workflows/cmake-windows.yml +++ b/.github/workflows/cmake-windows.yml @@ -1,15 +1,11 @@ name: CMake windows - on: [push] - env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release - jobs: build: runs-on: windows-latest - steps: - uses: actions/checkout@v2 @@ -27,6 +23,12 @@ jobs: - shell: powershell run: choco install cmake -y --installargs 'ADD_CMAKE_TO_PATH=System' + + - shell: powershell + run: choco install jq + + - shell: powershell + run: choco install curl - shell: powershell run: refreshenv @@ -35,8 +37,11 @@ jobs: shell: powershell run: | git clone https://github.com/xmrig/xmrig.git - git clone https://github.com/xmrig/xmrig-deps.git + ## quitar ## git clone https://github.com/xmrig/xmrig-deps.git + - shell: powershell + run: Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url' + - uses: msys2/setup-msys2@v2 - shell: msys2 {0}