test: GItHub CI with CMake

This commit is contained in:
TaurusXin 2024-02-07 22:54:38 +08:00
parent fb17095626
commit e0a958ef36
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 7 additions and 4 deletions

View File

@ -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