-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update appveyor.yml to use vcpkg
- Loading branch information
Showing
1 changed file
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,39 @@ | ||
version: 0.5.{build} | ||
os: Windows Server 2012 R2 | ||
configuration: Release | ||
branches: | ||
only: | ||
- dev | ||
image: Visual Studio 2017 | ||
configuration: | ||
- Release | ||
- Debug | ||
platform: x64 | ||
environment: | ||
BOOST_ROOT: C:\Libraries\boost_1_60_0 | ||
BOOST_LIBRARYDIR: C:\Libraries\boost_1_60_0\lib64-msvc-14.0 | ||
QTDIR: C:\Qt\5.4\msvc2015_64_opengl | ||
PYTHON: C:\Python37-x64 | ||
QT: C:\Qt\5.11.2\msvc2017_64 | ||
install: | ||
- cmd: >- | ||
cd C:\Tools\vcpkg | ||
git pull | ||
.\bootstrap-vcpkg.bat | ||
vcpkg install boost-system:x64-windows boost-filesystem:x64-windows boost-program-options:x64-windows boost-graph:x64-windows boost-regex:x64-windows boost-uuid:x64-windows boost-multiprecision:x64-windows boost-signals2:x64-windows pegtl:x64-windows pybind11:x64-windows catch2:x64-windows fmt:x64-windows ogdf:x64-windows sqlite-orm:x64-windows | ||
cd "%APPVEYOR_BUILD_FOLDER%" | ||
cache: c:\tools\vcpkg\installed\ | ||
before_build: | ||
- git submodule update --init --recursive | ||
- md build | ||
- cd build | ||
- cmake -G"Visual Studio 14 Win64" -DQT5_CMAKE_PATH=%QTDIR% -DMEDUSA_CMAKE_USE_COTIRE=TRUE .. | ||
- cmd: >- | ||
git submodule update --init --recursive | ||
md build | ||
cd build | ||
cmake -G"Visual Studio 15 Win64" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake .. | ||
build: | ||
project: C:\projects\medusa\build\Medusa.sln | ||
parallel: true | ||
verbosity: minimal | ||
test_script: | ||
- cmd: ctest -VV -C Release |