Update cmake-windows.yml
This commit is contained in:
parent
41dd7492aa
commit
9b067fa1ea
1 changed files with 10 additions and 5 deletions
15
.github/workflows/cmake-windows.yml
vendored
15
.github/workflows/cmake-windows.yml
vendored
|
@ -1,15 +1,11 @@
|
||||||
name: CMake windows
|
name: CMake windows
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -27,6 +23,12 @@ jobs:
|
||||||
|
|
||||||
- shell: powershell
|
- shell: powershell
|
||||||
run: choco install cmake -y --installargs 'ADD_CMAKE_TO_PATH=System'
|
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
|
- shell: powershell
|
||||||
run: refreshenv
|
run: refreshenv
|
||||||
|
@ -35,8 +37,11 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/xmrig/xmrig.git
|
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
|
- uses: msys2/setup-msys2@v2
|
||||||
|
|
||||||
- shell: msys2 {0}
|
- shell: msys2 {0}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue