.appveyor.yml 1.4 KB
Newer Older
1 2 3 4
# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml

version: "{build}"
5
os: Visual Studio 2017
6 7

clone_folder: C:\projects\ompl
8
shallow_clone: true
9 10 11 12 13

platform: x64

environment:
  CTEST_OUTPUT_ON_FAILURE: 1
14 15 16 17 18 19
  CMAKE_TOOLCHAIN_FILE: -DCMAKE_TOOLCHAIN_FILE="C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake"
  CMAKE_GENERATOR: -G"Visual Studio 15 2017 Win64"
  VCPKG_ARCH: x64-windows

cache:
  - C:\tools\vcpkg\installed -> .appveyor.yml
20 21 22 23

configuration: Release

before_build:
24 25 26 27 28 29 30 31 32 33 34
  - cmd: vcpkg install boost-disjoint-sets:%VCPKG_ARCH%
  - cmd: vcpkg install boost-dynamic-bitset:%VCPKG_ARCH%
  - cmd: vcpkg install boost-filesystem:%VCPKG_ARCH%
  - cmd: vcpkg install boost-graph:%VCPKG_ARCH%
  - cmd: vcpkg install boost-odeint:%VCPKG_ARCH%
  - cmd: vcpkg install boost-program-options:%VCPKG_ARCH%
  - cmd: vcpkg install boost-serialization:%VCPKG_ARCH%
  - cmd: vcpkg install boost-system:%VCPKG_ARCH%
  - cmd: vcpkg install boost-test:%VCPKG_ARCH%
  - cmd: vcpkg install boost-ublas:%VCPKG_ARCH%
  - cmd: vcpkg install eigen3:%VCPKG_ARCH%
35 36
  - cmd: mkdir build
  - cmd: cd build
37
  - cmd: cmake %CMAKE_GENERATOR% -DCMAKE_BUILD_TYPE=%configuration% %CMAKE_TOOLCHAIN_FILE% -DOMPL_REGISTRATION=OFF ..
38 39 40 41 42 43

build:
  project: C:\projects\ompl\build\ompl.sln
  parallel: true

after_build:
44
  - cmd: cmake --build . --config %configuration% --target package
45

46 47
test_script:
  - cmd: ctest -C %configuration%
48 49

artifacts:
50
  - path: 'build\ompl*.zip'