-
Notifications
You must be signed in to change notification settings - Fork 268
36 lines (33 loc) · 957 Bytes
/
vs17-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
32
33
34
35
36
name: VS17-CI
on: [push, pull_request]
permissions:
contents: read
jobs:
ci:
name: windows-vs17
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 17 2022, arch: Win32}
- {gen: Visual Studio 17 2022, arch: x64}
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Configure
run: |
mkdir build
cd build && cmake -DENABLE_ROARING_TESTS=ON -G "${{matrix.gen}}" -A ${{matrix.arch}} ..
- name: Build
run: cmake --build build --config Release
- name: Run basic tests
run: |
cd build
ctest -C Release --output-on-failure
- name: Build Debug
run: cmake --build build --config Debug
- name: Run basic tests in Debug
run: |
cd build
ctest -C Debug --output-on-failure