-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (27 loc) · 965 Bytes
/
vs16-ci.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
name: VS16-CI
on: [push, pull_request]
jobs:
ci:
name: windows-vs16
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: 'Run CMake with VS16'
uses: lukka/run-cmake@v2
with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
cmakeBuildType: Release
buildWithCMake: true
cmakeGenerator: VS16Win64
buildWithCMakeArgs: --config Release
- name: 'Check directory'
run: Get-ChildItem -Recurse
working-directory: "${{ github.workspace }}/../../_temp/windows"
- name: 'Run CTest'
run: src\Release\test.exe
working-directory: "${{ github.workspace }}/../../_temp/windows"
- name: 'Run CTest C++'
run: src\Release\testcpp.exe
working-directory: "${{ github.workspace }}/../../_temp/windows"