test: GItHub CI with CMake
This commit is contained in:
parent
fb17095626
commit
e0a958ef36
|
@ -19,11 +19,14 @@ jobs:
|
||||||
update: true
|
update: true
|
||||||
install: git mingw-w64-ucrt-x86_64-toolchain
|
install: git mingw-w64-ucrt-x86_64-toolchain
|
||||||
|
|
||||||
|
- name: Configure build
|
||||||
|
run: cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -B build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: mingw32-make win32
|
run: cmake --build build -j 4
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ncmdump-artifacts
|
name: ncmdump-artifacts
|
||||||
path: ncmdump.exe
|
path: build/ncmdump.exe
|
Loading…
Reference in New Issue