Update workflow #19
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: | |
- master # Trigger on push to 'master' branch | |
pull_request: | |
branches: | |
- master # Trigger on pull request targeting 'master' 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" # 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) |