-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (28 loc) · 1.3 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
build:
verbosity: detailed
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: "true"
image: Visual Studio 2015
platform: x64
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# Run the build with our own timeout because the vcpkg cache is not saved if
# we run into the appveyor timeout of one hour. Thus we abort after 50
# minutes (3000 seconds). Ten minutes are left for the initial git clone plus
# downloading/extracting/zipping/uploading of the cache.
#
# We use python to implement the process timeout - have fun trying to find
# how to do it using Windows tools like cmd.exe or the powershell.
#
# With cmd.exe, the script is executed inside the same process and thus you
# cannot kill it after a timeout.
#
# With powershell, Start-Job does not start the script in a way that directly
# redirects its output to standard output but only allows to collect it in the
# end.
build_script:
- mkdir C:\slam6d
- cmd: C:\Python36-x64\python.exe C:\projects\3dtk\windows\timeout.py 3000 C:\projects\3dtk\windows\build.cmd C:\projects\3dtk C:\slam6d
cache: c:\tools\vcpkg\installed\