Skip to content

. e add 'call' to github workflow file #24

. e add 'call' to github workflow file

. e add 'call' to github workflow file #24

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: |
call 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