We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4720ba7 commit 66b0762Copy full SHA for 66b0762
1 file changed
.github/workflows/CI-windows.yml
@@ -0,0 +1,42 @@
1
+# Some convenient links:
2
+# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
3
+#
4
+
5
+name: CI-windows
6
7
+on: [push,pull_request]
8
9
+defaults:
10
+ run:
11
+ shell: cmd
12
13
+jobs:
14
15
+ build:
16
+ strategy:
17
+ matrix:
18
+ # windows 2016 should default to VS 2017. Not supported by setup-msbuild
19
+ os: [windows-2019]
20
+ fail-fast: true
21
22
+ runs-on: ${{ matrix.os }}
23
24
+ steps:
25
+ - uses: actions/checkout@v2
26
27
+ - name: Setup msbuild.exe
28
+ uses: microsoft/setup-msbuild@v1.0.0
29
30
+ - name: Run cmake
31
+ run: |
32
+ cmake -G "Visual Studio 16" . -A x64
33
+ dir
34
35
+ - name: Build
36
37
+ msbuild -m simplecpp.sln /p:Configuration=Release /p:Platform=x64
38
39
+ - name: Test
40
41
+ .\Release\testrunner.exe
42
0 commit comments