This repository was archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
49 lines (38 loc) · 1.36 KB
/
appveyor.yml
File metadata and controls
49 lines (38 loc) · 1.36 KB
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
# Full Appveyor schema: https://www.appveyor.com/docs/appveyor-yml/
# An empty .appveyor.yml file defaults to MSBuild
# https://ci.appveyor.com/project/claremacrae/ci-playground/builds/25964280
# https://www.appveyor.com/docs/lang/cpp/
#image:
# - Visual Studio 2015
# - Visual Studio 2017
# - Visual Studio 2019
# https://www.appveyor.com/docs/build-environment/#using-multiple-images-for-the-same-build
# GENERATOR approach taken from https://github.com/gabime/spdlog/blob/v1.x/appveyor.yml
environment:
matrix:
- TARGET: vs2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GENERATOR: '"Visual Studio 14 2015"'
- TARGET: vs2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: '"Visual Studio 15 2017"'
- TARGET: vs2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
GENERATOR: '"Visual Studio 16 2019"'
# -------------------------------------------------------------------
# The order of available build steps in Appveyor:
# https://www.appveyor.com/docs/build-configuration/#build-pipeline
init:
- echo init - runs before cloning
install:
- echo install - runs after cloning
build_script:
- echo build_script
- mkdir .build
- cd .build
- cmake -G %GENERATOR% ..
- cmake --build .
test_script:
- echo test_script
- ctest --verbose
# Notifications are best controlled via Appveyor preferences