Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/CI-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/setup-msbuild@v1.0.0

- 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