Update workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: | |
- wip/refactoring # Trigger on push to 'wip/refactoring' branch | |
pull_request: | |
branches: | |
- wip/refactoring # Trigger on pull request targeting 'wip/refactoring' branch | |
jobs: | |
build: | |
runs-on: windows-latest # Use Windows environment for the build | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 # Checkout the repository code | |
- name: Set up Visual Studio | |
uses: microsoft/[email protected] # Set up Visual Studio environment (MSBuild) | |
- name: Configure CMake | |
run: cmake -S . -B Build -G "Visual Studio 17 2022" -DENABLE_UNIT_TESTS=ON # Configure CMake for Visual Studio | |
- name: Build | |
run: cmake --build Build --config Release # Build the project using CMake with Release configuration | |
- name: Run DelegateApp | |
run: .\Build\Release\DelegateApp.exe # Run the built executable (adjust path for MSBuild) |