forked from verateam/vera
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
57 lines (48 loc) · 2.08 KB
/
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
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
version: 1.3.0.{build}
# # http://www.appveyor.com/docs/build-cache#caching-chocolatey-packages
# cache:
# - C:\ProgramData\chocolatey\bin -> appveyor.yml
# - C:\ProgramData\chocolatey\lib -> appveyor.yml
environment:
BOOST_ROOT: C:\Libraries\boost_1_59_0
matrix:
# - VS_GEN: Visual Studio 14 2015
# CONFIG: Release
# B_NAME: Windows-x86
# platform: x86
# configuration: Release
# BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib32-msvc-14.0
- VS_GEN: Visual Studio 14 2015 Win64
CONFIG: Release
B_NAME: Windows-x86_64
BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib64-msvc-14.0
platform: x64
configuration: Release
# scripts that are called at very beginning, before repo cloning
init:
# Print environment info ( set / systeminfo)
- msbuild /version
- cmake --version
- python --version
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
# activetcl is not available in chocolatey since around 2016
- ps: Start-FileDownload 'https://freefr.dl.sourceforge.net/project/magicsplat/magicsplat-tcl/tcl-8.6.9-installer-1.9.1-x64.msi'
- ps: msiexec /i tcl-8.6.9-installer-1.9.1-x64.msi
- choco install pandoc
before_build:
- cmake -Wno-dev -G"%VS_GEN%" -DCMAKE_BUILD_TYPE=%CONFIG% -DVERA_USE_SYSTEM_LUA=OFF -DBUILDNAME="%B_NAME%"
- ctest -D ExperimentalStart -C %CONFIG%
# to run your custom scripts instead of automatic MSBuild
build_script:
# Do not run Test=Update/Configure, only Start/Build/Test/Submit (TODO: Coverage)
- ctest -D ExperimentalBuild -j %NUMBER_OF_PROCESSORS% -C %CONFIG%
# to run your custom scripts instead of automatic tests
test_script:
- ctest -D ExperimentalTest -j %NUMBER_OF_PROCESSORS% -C %CONFIG% || true
- ctest -D ExperimentalSubmit -C %CONFIG%
# Uncomment below if you want to debug via RDP
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))