Update cmake-windows.yml
This commit is contained in:
parent
8ff5e81a41
commit
53c0c4ea9d
1 changed files with 12 additions and 5 deletions
15
.github/workflows/cmake-windows.yml
vendored
15
.github/workflows/cmake-windows.yml
vendored
|
@ -30,10 +30,6 @@ jobs:
|
||||||
- shell: powershell
|
- shell: powershell
|
||||||
run: refreshenv
|
run: refreshenv
|
||||||
|
|
||||||
- name: Clone repos
|
|
||||||
shell: powershell
|
|
||||||
run: git clone https://github.com/xmrig/xmrig.git
|
|
||||||
|
|
||||||
- shell: msys2 {0}
|
- shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
@ -47,6 +43,17 @@ jobs:
|
||||||
$URL_Latest = $URL_Latest -replace '"', ""
|
$URL_Latest = $URL_Latest -replace '"', ""
|
||||||
Start-BitsTransfer -Source $URL_Latest -Destination "xmrig-deps.zip"
|
Start-BitsTransfer -Source $URL_Latest -Destination "xmrig-deps.zip"
|
||||||
|
|
||||||
|
- name: Clone repos
|
||||||
|
shell: powershell
|
||||||
|
run: git clone https://github.com/xmrig/xmrig.git
|
||||||
|
|
||||||
|
- name: Edit donate.h
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
cd xmrig/src
|
||||||
|
(Get-Content donate.h).replace('constexpr const int kDefaultDonateLevel = 1', 'constexpr const int kDefaultDonateLevel = 0') | Set-Content donate.h
|
||||||
|
(Get-Content donate.h).replace('constexpr const int kMinimumDonateLevel = 1', 'constexpr const int kMinimumDonateLevel = 0') | Set-Content donate.h
|
||||||
|
|
||||||
- shell: msys2 {0}
|
- shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
unzip xmrig-deps.zip
|
unzip xmrig-deps.zip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue