forked from treefrogframework/treefrog-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
73 lines (63 loc) · 2.06 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# appveyor.yml
#
branches:
only:
- master
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Skipping commits affecting specific files (GitHub only).
skip_commits:
files:
- docs/*
- '**/*.html'
#---------------------------------#
# environment configuration #
#---------------------------------#
environment:
matrix:
# Qt5.12 / VisualStudio 2017 64bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
QT_PATH: C:\Qt\5.12\msvc2017_64
# Qt5.12 / VisualStudio 2017 32bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
QT_PATH: C:\Qt\5.12\msvc2017
# Qt5.12 / VisualStudio 2015 64bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
VCVARARG: amd64
QT_PATH: C:\Qt\5.12\msvc2015_64
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf false
install:
- cd C:\Tools\vcpkg
- git pull
- git checkout refs/tags/2019.07
- .\bootstrap-vcpkg.bat
- vcpkg integrate install
- cd %APPVEYOR_BUILD_FOLDER%
- vcpkg install --recurse sqlite3[tool] curl[tool]
# to disable automatic builds
build: off
# to run your custom scripts instead of automatic MSBuild
build_script:
- cmd: call "%INIT_BAT%" %VCVARARG%
- cmd: set PATH=%QT_PATH%\bin;C:\tools\vcpkg\installed\x86-windows\tools;%PATH%
- cmd: echo %PATH%
- cmd: configure.bat --enable-debug
- cmd: cd src
- cmd: nmake install
- cmd: cd ..\tools
- cmd: nmake install
- cmd: cd ..
- cmd: configure.bat
- cmd: cd src
- cmd: nmake install
- cmd: cd ..\tools
- cmd: nmake install
- cmd: cd test
- cmd: set PATH=C:\tools\vcpkg\installed\x86-windows\tools;C:\tools\vcpkg\installed\x86-windows\tools\curl;C:\Windows\System32;C:\Windows
- cmd: releasetest\releasetest.bat