From a982d5420290fd495edc96810cdc58072763dea4 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 17 Feb 2022 11:13:07 +0100 Subject: [PATCH] add debug build to windows github actions --- .github/workflows/cmake-windows.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/cmake-windows.yml b/.github/workflows/cmake-windows.yml index 9ea76a7..aa9b43b 100644 --- a/.github/workflows/cmake-windows.yml +++ b/.github/workflows/cmake-windows.yml @@ -44,4 +44,15 @@ jobs: name: BeamMP-Server.exe path: ${{github.workspace}}/build-windows/Release/BeamMP-Server.exe + - name: Build debug + working-directory: ${{github.workspace}}/build-windows + shell: bash + run: | + cmake --build . --config Debug + + - name: Archive debug artifacts + uses: actions/upload-artifact@v2 + with: + name: BeamMP-Server-debug.exe + path: ${{github.workspace}}/build-windows/Debug/BeamMP-Server.exe