-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
50 lines (42 loc) · 1.19 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
41
42
43
44
45
46
47
48
49
50
version: 0.1.0.{branch}.{build}
image: Visual Studio 2019
environment:
matrix:
# MSVC x86
- name: win32
platform: x86
qt: 5.15.2\msvc2019
suffix: msvc2019
spec: win32-msvc2019
# MSVC x64
- name: win64
platform: amd64
qt: 5.15.2\msvc2019_64
suffix: msvc2019
spec: win32-msvc2019
# MinGW x86
- name: win32
platform: mingw
qt: 5.15.2\mingw81_32
suffix: mingw810_64
spec: win32-g++
# MinGW x64
- name: win64
platform: mingw
qt: 5.15.2\mingw81_64
suffix: mingw810_32
spec: win32-g++
init:
- if %platform%==mingw set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if %platform%==mingw set PATH=C:\Qt\Tools\%suffix%\bin;%PATH%
- set PATH=C:\Qt\%qt%\bin;%PATH%
- if not %platform%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\vsdevcmd\ext\vcvars\vcvars140.bat" %platform%
- if not %platform%==mingw (set spec=%spec%) else (set spec=%spec%)
before_build:
- md build-%platform%
build_script:
- cd build-%platform%
- qmake ..\qutefan\Qutefan.pro -spec %spec%
- if not %platform%==mingw (nmake) else (mingw32-make)
artifacts:
- path: build-%platform%\release\Qutefan.exe