Update cmake-windows.yml
This commit is contained in:
parent
9b067fa1ea
commit
a0dd5aeb74
1 changed files with 13 additions and 3 deletions
16
.github/workflows/cmake-windows.yml
vendored
16
.github/workflows/cmake-windows.yml
vendored
|
@ -4,7 +4,7 @@ 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:
|
install:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -35,9 +35,19 @@ jobs:
|
||||||
|
|
||||||
- name: Clone repos
|
- name: Clone repos
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
run: git clone https://github.com/xmrig/xmrig.git
|
||||||
|
- shell: powershell
|
||||||
|
run: |
|
||||||
|
$URL_Latest = Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url'
|
||||||
|
Get-Variable URL_Latest
|
||||||
|
$URL_Latest = $URL_Latest -replace '"', ""
|
||||||
|
Start-BitsTransfer -Source $URL_Latest -Destination "xmrig-deps.zip"
|
||||||
|
|
||||||
|
- shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/xmrig/xmrig.git
|
pacman -S unzip
|
||||||
## quitar ## git clone https://github.com/xmrig/xmrig-deps.git
|
unzip xmrig-deps.zip
|
||||||
|
mv xmrig-xmrig* xmrig-deps
|
||||||
|
|
||||||
- shell: powershell
|
- shell: powershell
|
||||||
run: Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url'
|
run: Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue