forked from cinder/Cinder
-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (28 loc) · 894 Bytes
/
vc2019-msw.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: VC2019
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2019
strategy:
matrix:
config: [Debug, Release]
steps:
- name: Clone
uses: actions/checkout@v3
- name: MSBuild Setup
uses: microsoft/[email protected]
with:
msbuild-architecture: 'x64'
- name: Build
working-directory: ${{github.workspace}}
run: msbuild proj\vc2019\cinder.sln /m /t:rebuild /p:Configuration=${{matrix.config}}
- name: Build Unit Tests
working-directory: ${{github.workspace}}\test\unit
run: msbuild vc2019\unit.sln /m /t:rebuild /p:Configuration=${{matrix.config}}
- name: Run Unit Tests
working-directory: ${{github.workspace}}\test\unit
run: vc2019\build\v142\${{matrix.config}}\x64\CinderUnitTests.exe