-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
40 lines (33 loc) · 1.01 KB
/
.appveyor.yml
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
39
40
version: 0.1.0.{branch}.{build}
environment:
matrix:
# MinGW
- name: win32
platform: mingw
qt: 5.7\mingw53_32
suffix: mingw_x86
# MSVC x86
- name: win32
platform: x86
qt: 5.7\msvc2015
suffix: msvc2015_x86
# MSVC x64
- name: win64
platform: amd64
qt: 5.7\msvc2015_64
suffix: msvc2015_x64
init:
- if %platform%==mingw set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if %platform%==mingw set PATH=C:\Qt\Tools\mingw530_32\bin;%PATH%
- set PATH=C:\Qt\%qt%\bin;%PATH%
- if not %platform%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
- if not %platform%==mingw (set spec=win32-msvc2015) else (set spec=win32-g++)
- if not %platform%==mingw set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
before_build:
- md build-%suffix%
build_script:
- cd build-%suffix%
- qmake ..\redshiftqt\RedShiftQt.pro -spec %spec%
- if not %platform%==mingw (jom) else (mingw32-make)
artifacts:
- path: build-%suffix%\release\RedShiftQt.exe