-
-
Notifications
You must be signed in to change notification settings - Fork 11
35 lines (27 loc) · 935 Bytes
/
windows.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: Windows
on: [push]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: configure
run: |
cmake -B build/debug -D ITSY_BITSY_SINGLE:BOOL=TRUE -D ITSY_BITSY_TESTS:BOOL=TRUE -D ITSY_BITSY_EXAMPLES:BOOL=TRUE -D ITSY_BITSY_BENCHMARKS:BOOL=TRUE -D ITSY_BITSY_DOCS:BOOL=TRUE
cmake -B build/release -D ITSY_BITSY_SINGLE:BOOL=TRUE -D ITSY_BITSY_TESTS:BOOL=TRUE -D ITSY_BITSY_EXAMPLES:BOOL=TRUE -D ITSY_BITSY_BENCHMARKS:BOOL=TRUE -D ITSY_BITSY_DOCS:BOOL=TRUE
- name: build
run: |
cmake --build build/debug --config Debug
cmake --build build/release --config Release
- name: test
run: |
cd build/debug
ctest --build-config Debug
cd ../..
cd build/release
ctest --build-config Release
cd ../..