1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00
QXlsx/appveyor.yml

60 lines
1.2 KiB
YAML
Raw Normal View History

2018-11-30 10:58:08 +09:00
#
# AppVetor
#
# QXlsx
# https://github.com/j2doll/QXlsx
#
2018-11-30 11:02:57 +09:00
image: Visual Studio 2015
2018-11-30 11:00:27 +09:00
environment:
2018-11-30 11:02:57 +09:00
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
2018-11-30 11:00:27 +09:00
init:
2018-11-30 11:02:57 +09:00
- call "%QTDIR%\bin\qtenv2.bat"
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
- call "%VCVARS%" %platform%
- cd /D "%APPVEYOR_BUILD_FOLDER%"
2018-11-30 10:58:08 +09:00
2018-11-30 11:17:22 +09:00
before_build:
2018-11-30 10:58:08 +09:00
build_script:
2018-11-30 11:17:22 +09:00
# Get version of Windows
2018-11-30 11:27:19 +09:00
- ver # Microsoft Windows [Version 10.0.14393]
- wmic os get osarchitecture # OSArchitecture 64-bit
2018-11-30 11:17:22 +09:00
# Build QXlsx library
2018-11-30 10:58:08 +09:00
- cd QXlsx
- qmake QXlsx.pro
2018-11-30 11:05:28 +09:00
- nmake
2018-11-30 11:12:33 +09:00
# Build HelloWorld
- cd ../HelloWorld
- qmake HelloWorld.pro
- nmake
# Execute HelloWorld
- cd release
- HelloWorld
- cd ..
2018-11-30 11:02:57 +09:00
2018-11-30 11:17:22 +09:00
# Build TestExcel
- cd ../TestExcel
- qmake TestExcel.pro
- nmake
# Execute TestExcel
- cd release
- TestExcel
- cd ..
after_build:
2018-11-30 10:58:08 +09:00