2016-12-21 20:44:30 +00:00
|
|
|
############################################################################
|
|
|
|
# URDE appveyor build configuration
|
|
|
|
############################################################################
|
|
|
|
clone_depth: 1
|
|
|
|
|
|
|
|
os:
|
2017-11-13 13:18:16 +00:00
|
|
|
- Visual Studio 2017
|
2016-12-21 20:44:30 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
verbosity: detailed
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
install:
|
|
|
|
############################################################################
|
|
|
|
# All external dependencies are installed in C:\projects\deps
|
|
|
|
############################################################################
|
|
|
|
- mkdir C:\projects\deps
|
|
|
|
- cd C:\projects\deps
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# Install Ninja
|
|
|
|
############################################################################
|
|
|
|
- set NINJA_URL="https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip"
|
|
|
|
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
|
|
|
|
- 7z x ninja.zip -oC:\projects\deps\ninja > nul
|
|
|
|
- set PATH=C:\projects\deps\ninja;%PATH%
|
|
|
|
- ninja --version
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# Install a recent CMake
|
|
|
|
############################################################################
|
2017-11-14 04:00:06 +00:00
|
|
|
- set CMAKE_URL="https://cmake.org/files/v3.9/cmake-3.9.6-win64-x64.zip"
|
2016-12-21 20:44:30 +00:00
|
|
|
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
|
|
|
|
- 7z x cmake.zip -oC:\projects\deps\cmake > nul
|
|
|
|
- set PATH=C:\projects\deps\cmake\bin;%PATH%
|
2017-11-14 04:22:25 +00:00
|
|
|
- C:\projects\deps\cmake\cmake-3.9.6-win64-x64\bin\cmake.exe --version
|
2016-12-21 20:44:30 +00:00
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# Install custom LLVM
|
|
|
|
############################################################################
|
2017-11-14 03:36:36 +00:00
|
|
|
- set LLVM_URL="https://axiodl.com/LLVM-6.0.0svn-win64.exe"
|
2016-12-21 20:44:30 +00:00
|
|
|
- appveyor DownloadFile %LLVM_URL% -FileName llvm.exe
|
|
|
|
- llvm.exe /S /D=C:\projects\deps\llvm
|
|
|
|
- set PATH=C:\projects\deps\llvm\bin;%PATH%
|
|
|
|
- llvm-config --version
|
|
|
|
|
|
|
|
before_build:
|
2017-11-14 03:52:36 +00:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
2016-12-21 20:44:30 +00:00
|
|
|
- cd C:\projects\urde
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2017-11-14 04:22:25 +00:00
|
|
|
- C:\projects\deps\cmake\cmake-3.9.6-win64-x64\bin\cmake.exe -GNinja ..
|
2016-12-21 20:44:30 +00:00
|
|
|
- ninja
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: Slack
|
|
|
|
incoming_webhook:
|
|
|
|
secure: uoO0I0PWyCx0KLjBOG6d17aSVuEEvYztB/UiF8J0LmTb2O735mAdWcuZHTImDFUGZxeI34/qzOB2JKqF+h8dZA5yiprSTkWIookqQjUokAM=
|
2017-08-11 01:16:58 +00:00
|
|
|
- provider: Webhook
|
2017-11-14 03:36:36 +00:00
|
|
|
url: https://skyhook.glitch.me/api/webhooks/345359672326356993/M8kBYpqr1JyVNhnAHBwNN5TnZmtWy9_msxAQoeOlaa73UhPn8gLU5uYZCjU1qsAi3sGN/appveyor
|
2017-08-11 01:16:58 +00:00
|
|
|
method: POST
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: false
|
2016-12-21 20:44:30 +00:00
|
|
|
|
|
|
|
# Uncomment this to debug AppVeyor failures.
|
2017-11-14 04:22:25 +00:00
|
|
|
#on_finish:
|
|
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|