Skip to content

Commit

Permalink
Build a Windows Debug version
Browse files Browse the repository at this point in the history
  • Loading branch information
Randalphwa committed Jul 28, 2024
1 parent d836200 commit 88ce233
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/windows_debug_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Windows Debug Build"

on:
workflow_dispatch:

env:
BUILD_TYPE: Debug

jobs:
buildWindows:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- run: mkdir ${{github.workspace}}/build

- name: Configure CMake
run: cmake -G "Visual Studio 17 2022" -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build wxUiEditor
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target wxUiEditor

- name: Create Windows Artifact
uses: actions/upload-artifact@v4
with:
name: WindowsExecutable
path: |
build/bin/Debug/wxUiEditor.exe

0 comments on commit 88ce233

Please sign in to comment.