forked from HamedMasafi/Nut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
55 lines (46 loc) · 1.75 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
51
52
53
54
55
version: '{branch}-{build}'
clone_depth: 50
branches:
only:
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTDIR: C:\Qt\5.13.0\msvc2017
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
PLATFORM:
VER_SUFFIX: win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTDIR: C:\Qt\5.13.0\msvc2017_64
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
PLATFORM:
VER_SUFFIX: win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
QTDIR: C:\Qt\5.11\msvc2015
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
PLATFORM: x86
VER_SUFFIX: win32
- QTDIR: C:\Qt\5.13.0\mingw73_64
- QTDIR: C:\Qt\5.13.0\mingw73_32
- QTDIR: C:\Qt\5.11.3\mingw53_32
clone_script:
- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
install:
- git submodule update --init --recursive
- set PATH=%PATH%;%QTDIR%\bin
- call "%QTDIR%\bin\qtenv2.bat"
- if %QTDIR:msvc=%==%QTDIR% set make=mingw32-make.exe
- if not %QTDIR:msvc=%==%QTDIR% set make=nmake.exe
- if defined VCVARS call "%VCVARS%"
- qmake -v
before_build:
# Prepare the out-of-source build directory.
- mkdir %APPVEYOR_BUILD_FOLDER%-build
- qmake -o %APPVEYOR_BUILD_FOLDER%-build -r -Wall -Wlogic -Wparser %APPVEYOR_BUILD_FOLDER%
build_script:
- cd %APPVEYOR_BUILD_FOLDER%-build
- echo 'QT -= gui' >> %APPVEYOR_BUILD_FOLDER%\ci-test-init.pri
- '%make%'
#test_script:
# - if not %CONFIGURATION%==debug %make% check TESTARGS=-silent