aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/appveyor.yml
blob: 29100e4154e62d0761d79e40dc057a959a249c19 (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
33
34
35
36
37
38
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-12.0
      MODE: --via-amalgamation
    - COMPILER: msvc-14.0
      MODE: --enable-shared
    - COMPILER: msvc-14.0
      MODE: --disable-shared
    - COMPILER: msvc-14.0
      MODE: --via-amalgamation

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
  
  - appveyor DownloadFile http://download.qt.io/official_releases/jom/jom.zip -FileName jom.zip
  - 7z e jom.zip

build_script:
  - python configure.py --cc=msvc --cpu=%PLATFORM% %MODE% --with-pkcs11
  - jom -j2
  - botan-test
  - nmake install