-
Notifications
You must be signed in to change notification settings - Fork 12
/
.appveyor.yml
59 lines (46 loc) · 984 Bytes
/
.appveyor.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
48
49
50
51
52
53
54
55
56
57
58
# AppVeyor configuration for cpp_tutorial Project
version: 1.0.{build}
# Build environment
os: Visual Studio 2022
# Branches to build
branches:
only:
- master
# Configuration matrix
platform:
- x64
configuration:
- Release
- Debug
# Environment setup
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
# Build scripts
install:
# Ensure CMake is available
- ps: Install-Product node 14
- set PATH=C:\Program Files\CMake\bin;%PATH%
- cmake --version
before_build:
- mkdir build
- cd build
- cmake -G "Ninja" ..
build_script:
- cmake --build . --config %CONFIGURATION%
test_script:
# Uncomment if you have tests
# - ctest -C %CONFIGURATION%
# Artifacts
artifacts:
- path: build\**\*.exe
name: Executables
- path: docs\**\*.html
name: Documentation
# Notifications (optional)
notifications:
- provider: Email
to:
on_build_success: true
on_build_failure: true