Skip to content

Commit

Permalink
Add Windows release build workflow
Browse files Browse the repository at this point in the history
This will only build the Windows version
  • Loading branch information
Randalphwa committed Jul 28, 2024
1 parent 4f1a428 commit 00057a9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Windows Release Build"

on:
workflow_dispatch:

env:
BUILD_TYPE: Release

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/Release/wxUiEditor.exe

0 comments on commit 00057a9

Please sign in to comment.