aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/appveyor.yml
blob: 140fbe92de97b99087947878e66d591e926d700e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
os: Visual Studio 2015

platform:
  - x86
  - x86_amd64

environment:
  matrix:
    - COMPILER: msvc-12.0
      MODE: --enable-shared
    - COMPILER: msvc-12.0
      MODE: --disable-shared
    - COMPILER: msvc-14.0
      MODE: --enable-shared
    - COMPILER: msvc-14.0
      MODE: --disable-shared

install:
  - if %compiler% == msvc-12.0 (
       call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM%
    )
  - if %compiler% == msvc-14.0 (
       call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
    )
  - cl # check compiler version

# always build via amalgamation due to build time constraints on appveyor
build_script:
  - python configure.py --cc=msvc --cpu=%PLATFORM% %MODE%
  - nmake
  - botan-test
  - nmake install