forked from QtExcel/QXlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
59 lines (48 loc) · 1.16 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
56
57
58
#
# AppVetor
#
# QXlsx
# https://github.com/j2doll/QXlsx
#
image: Visual Studio 2015
environment:
DEPLOY_DIR: Quaternion-%APPVEYOR_BUILD_VERSION%
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTDIR: C:\Qt\5.9\msvc2017_64
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
PLATFORM:
- QTDIR: C:\Qt\5.9\msvc2015
VCVARS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"
PLATFORM: x86
init:
- call "%QTDIR%\bin\qtenv2.bat"
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
- call "%VCVARS%" %platform%
- cd /D "%APPVEYOR_BUILD_FOLDER%"
before_build:
build_script:
# Get version of Windows
- ver # Microsoft Windows [Version 10.0.14393]
- wmic os get osarchitecture # OSArchitecture 64-bit
# Build QXlsx library
- cd QXlsx
- qmake QXlsx.pro
- nmake
# Build HelloWorld
- cd ../HelloWorld
- qmake HelloWorld.pro
- nmake
# Execute HelloWorld
- cd release
- HelloWorld
- cd ..
# Build TestExcel
- cd ../TestExcel
- qmake TestExcel.pro
- nmake
# Execute TestExcel
- cd release
- TestExcel
- cd ..
after_build: