aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/appveyor.yml
blob: c566c22d2e7fead5cd4f51515e816ca27be6b225 (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
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
  
  - 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
  - botan-test
  - nmake install