. t visual-studio-2019 folder is now machine generated by a script #23
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: build_vs | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
build_vs2019_sln: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: create project | |
run: | | |
create_visual_studio_project.bat | |
- name: build | |
run: | | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" | |
msbuild /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln | |
msbuild /p:Configuration=Release visual-studio-2019/StarterProject2019.sln | |
msbuild /p:Platform=x86 /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln | |
msbuild /p:Platform=x86 /p:Configuration=Release visual-studio-2019/StarterProject2019.sln | |
shell: cmd | |
- name: test | |
run: | | |
visual-studio-2019\x64\Debug\StarterProject2019.exe | |
visual-studio-2019\x64\Release\StarterProject2019.exe | |
visual-studio-2019\Debug\StarterProject2019.exe | |
visual-studio-2019\Release\StarterProject2019.exe |