Update cmake-windows.yml
This commit is contained in:
parent
9d691af3b4
commit
6f66071494
1 changed files with 6 additions and 5 deletions
11
.github/workflows/cmake-windows.yml
vendored
11
.github/workflows/cmake-windows.yml
vendored
|
@ -1,5 +1,7 @@
|
||||||
name: CMake windows
|
name: CMake windows
|
||||||
on: [push]
|
on:
|
||||||
|
release: # recuerda cmabiarlo a push
|
||||||
|
types: [published, created, edited]
|
||||||
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
|
||||||
|
@ -8,6 +10,7 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
|
||||||
- name: Install GIT
|
- name: Install GIT
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
@ -54,9 +57,7 @@ jobs:
|
||||||
unzip xmrig-deps.zip
|
unzip xmrig-deps.zip
|
||||||
mv xmrig-xmrig* xmrig-deps
|
mv xmrig-xmrig* xmrig-deps
|
||||||
mkdir xmrig/build
|
mkdir xmrig/build
|
||||||
cd xmrig/build
|
cd xmrig/build
|
||||||
ls
|
'C:\Program Files\CMake\bin\cmake.exe' .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x64
|
||||||
pwd
|
|
||||||
'C:\Program Files\CMake\bin\cmake.exe' .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue