Commit 380151bb5ac349e59055b3862341394ff6adb41d

Authored by Henry Fredrick Schreiner
1 parent 3e2172bd

Trying to set up appveyor (untested)

Showing 1 changed file with 48 additions and 0 deletions
.appveyor.yml 0 → 100644
  1 +# Repo as zip
  2 +shallow_clone: true
  3 +
  4 +os:
  5 + - Visual Studio 2015 Update 2
  6 +
  7 +environment:
  8 + CTEST_OUPTUT_ON_FAILURE: ON
  9 +
  10 +build:
  11 + verbosity: detailed
  12 +
  13 +configuration:
  14 + - Debug
  15 +
  16 +branches:
  17 + except:
  18 + - gh-pages
  19 +
  20 +install:
  21 + ############################################################################
  22 + # All external dependencies are installed in C:\projects\deps
  23 + ############################################################################
  24 + - mkdir C:\projects\deps
  25 + - cd C:\projects\deps
  26 +
  27 + ############################################################################
  28 + # Install a recent CMake
  29 + ############################################################################
  30 + - set CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.0-win32-x86.zip"
  31 + - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
  32 + - 7z x cmake.zip -oC:\projects\deps\cmake > nul
  33 + - set PATH=C:\projects\deps\cmake\bin;%PATH%
  34 + - cmake --version
  35 +
  36 +before_build:
  37 + - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
  38 + - cd %APPVEYOR_BUILD_FOLDER%
  39 +
  40 +build:
  41 + - mkdir build
  42 + - cd build
  43 + - cmake ..
  44 + - cmake --build .
  45 +
  46 +test:
  47 + test_script:
  48 + - cmake --build --target test .
... ...