From e0a958ef3686193200c43fcece1bd4f380bf8ccf Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Wed, 7 Feb 2024 22:54:38 +0800 Subject: [PATCH] test: GItHub CI with CMake --- .github/workflows/autobuild.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index ca4e0d9..a8f8297 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -19,11 +19,14 @@ jobs: update: true install: git mingw-w64-ucrt-x86_64-toolchain + - name: Configure build + run: cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -B build + - name: Build - run: mingw32-make win32 - + run: cmake --build build -j 4 + - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ncmdump-artifacts - path: ncmdump.exe \ No newline at end of file + path: build/ncmdump.exe \ No newline at end of file