forked from verateam/vera
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyorNightly.yml
55 lines (46 loc) · 1.85 KB
/
appveyorNightly.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
# appveyor nightly 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:
- choco install activetcl
- 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 NightlyStart -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 NightlyBuild -j %NUMBER_OF_PROCESSORS% -C %CONFIG%
# to run your custom scripts instead of automatic tests
test_script:
- ctest -D NightlyTest -j %NUMBER_OF_PROCESSORS% -C %CONFIG% || true
- ctest -D NightlySubmit -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'))