forked from azhirnov/RDCtoVkCpp
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1019 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
36
37
38
39
40
41
42
43
44
name: Windows
on:
push:
paths-ignore:
- 'Readme.md'
branches-ignore:
- 'tmp*'
pull_request:
paths-ignore:
- 'Readme.md'
branches-ignore:
- 'tmp*'
jobs:
windows-build:
strategy:
fail-fast: false
matrix:
os: [windows-2022, windows-2019]
config: [Debug, Release]
include:
- os: windows-2022
generator: "Visual Studio 17 2022"
- os: windows-2019
generator: "Visual Studio 16 2019"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Show CMake generators
working-directory: ${{ github.workspace }}
run: |
cmake --version
cmake --help
- name: Configure CMake
working-directory: ${{ github.workspace }}
run: cmake -G "${{ matrix.generator }}" -A x64 -S . -B build
- name: Build
working-directory: ${{ github.workspace }}
run: cmake --build build --config ${{ matrix.config }}