summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: ba535d80795233614637b69370a6d26fea872ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
environment:
  PYTHON: "C:\\Python34"
  PYTHON_VERSION: "3.4.1"
  PYTHON_ARCH: "32"

# set up for nmake:
install:
  - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

build_script:
  - |
    mkdir build 2> nul
    pushd build
    cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE="Release" -D CMAKE_INSTALL_PREFIX="windows" ..
    nmake /nologo
    popd

test_script:
  - |
    pushd build && nmake /nologo test