forked from danmar/simplecpp
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (30 loc) · 852 Bytes
/
CI-windows.yml
File metadata and controls
42 lines (30 loc) · 852 Bytes
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
36
37
38
39
40
41
42
# Some convenient links:
# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
#
name: CI-windows
on: [push,pull_request]
defaults:
run:
shell: cmd
jobs:
build:
strategy:
matrix:
# windows 2016 should default to VS 2017. Not supported by setup-msbuild
os: [windows-2019]
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup msbuild.exe
uses: microsoft/[email protected]
- name: Run cmake
run: |
cmake -G "Visual Studio 16" . -A x64
dir
- name: Build
run: |
msbuild -m simplecpp.sln /p:Configuration=Release /p:Platform=x64
- name: Test
run: |
.\Release\testrunner.exe