Fixed debug folder gitignore, forgot we need dlls for tests #170
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: MSBuild debug server.yml | |
on: [push] | |
env: | |
SOLUTION_FILE_PATH: ./src/server/ | |
BUILD_CONFIGURATION: Debug | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: Restore NuGet packages | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: nuget restore ${{env.SOLUTION_FILE_PATH}} | |
- name: Unzip-Dependencies | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: cd D:/a/sfml-rs2d/sfml-rs2d/include && tar -xf SFML-2.5.1.zip && tar -xf boost_1_77_0.zip && tar -xf websocketpp.zip | |
- name: Build-App | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m /t:app:Rebuild /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | |
- name: Build-Tests | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m /t:tests:Rebuild /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | |
- name: Test | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: D:\a\sfml-rs2d\sfml-rs2d\src\server\Debug\tests.exe --gtest_filter=-SQLDB* |