Skip to content

Commit

Permalink
Update test-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pusnow authored Mar 25, 2021
1 parent 6fc45e8 commit 3c6c708
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- master

env:
vcvars: C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
Expand All @@ -21,17 +19,14 @@ jobs:
- name: Configure CMake
shell: cmd
working-directory: ${{github.workspace}}/build
run: |
"${{env.vcvars}}" && cmake ${{github.workspace}}
run: cmake ${{github.workspace}}

- name: Build
shell: cmd
working-directory: ${{github.workspace}}/build
run: |
"${{env.vcvars}}" && cmake --build ${{github.workspace}}\build
run: cmake --build .

- name: Test
shell: cmd
working-directory: ${{github.workspace}}/build
run: |
"${{env.vcvars}}" && app\kens\Debug\kens-all-run-solution.exe
working-directory: ${{github.workspace}}/build/app/kens/Debug
run: kens-all-run-solution.exe

0 comments on commit 3c6c708

Please sign in to comment.