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
|
||||
on: [push]
|
||||
on:
|
||||
release: # recuerda cmabiarlo a push
|
||||
types: [published, created, edited]
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Release
|
||||
|
@ -8,6 +10,7 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: msys2/setup-msys2@v2
|
||||
|
||||
- name: Install GIT
|
||||
shell: powershell
|
||||
|
@ -54,9 +57,7 @@ jobs:
|
|||
unzip xmrig-deps.zip
|
||||
mv xmrig-xmrig* xmrig-deps
|
||||
mkdir xmrig/build
|
||||
cd xmrig/build
|
||||
ls
|
||||
pwd
|
||||
'C:\Program Files\CMake\bin\cmake.exe' .. -G "Unix Makefiles" -DXMRIG_DEPS=../../xmrig-deps/gcc/x64
|
||||
cd xmrig/build
|
||||
'C:\Program Files\CMake\bin\cmake.exe' .. -G "Unix Makefiles" -DXMRIG_DEPS=c:/xmrig-deps/gcc/x64
|
||||
make -j$(nproc)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue