-
Notifications
You must be signed in to change notification settings - Fork 54
47 lines (38 loc) · 1.02 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
permissions:
contents: read
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.head_ref }}
jobs:
build:
name: ${{ matrix.cxx }}, ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
include: [
# You can access the following values via ${{ matrix.??? }}
#
# cxx : C++ compiler executable
# os : GitHub Actions YAML workflow label. See https://github.com/actions/virtual-environments#available-environments
{ os: windows-2019, cxx: 'vs2019' },
{ os: windows-2022, cxx: 'vs2022' }
]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: build
run: |
cmake -Bbuild samples
cmake --build build --parallel --config Release
cmake --build build --parallel --config Debug