Project Management #248
Workflow file for this run
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: C++ Integration Tests (windows-latest msbuild) | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
build-and-test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.1 | |
- id: install_conan | |
uses: turtlebrowser/get-conan@main | |
with: | |
version: 1.59.0 | |
- id: run_conan | |
run: cd $Env:GITHUB_WORKSPACE/test && conan install --generator cmake_find_package --install-folder ../build_test/conan-dependencies . | |
- id: cmake | |
run: cd $Env:GITHUB_WORKSPACE/test && cmake -DCMAKE_BUILD_TYPE=Debug -B../build_test -S. | |
- name: Build app for release | |
run: cd $Env:GITHUB_WORKSPACE/build_test && msbuild ForscapeTests.vcxproj -property:Configuration=Debug | |
- id: run | |
run: cd $Env:GITHUB_WORKSPACE/build_test && ./Debug/ForscapeTests.exe |