-
-
Notifications
You must be signed in to change notification settings - Fork 219
/
appveyor.yml
78 lines (68 loc) · 2.26 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
74
75
76
77
78
#
# 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.15 / VisualStudio 2019 32bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat
QT_PATH: C:\Qt\5.15\msvc2019
# Qt5.15 / VisualStudio 2019 64bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
QT_PATH: C:\Qt\5.15\msvc2019_64
# Qt6.5 / VisualStudio 2019 64bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
INIT_BAT: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
QT_PATH: C:\Qt\6.5\msvc2019_64
# Qt6.5 / VisualStudio 2022 64bit
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
INIT_BAT: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
QT_PATH: C:\Qt\6.5\msvc2019_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 switch --detach tags/2023.11.20
- .\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\x64-windows\tools;C:\tools\vcpkg\installed\x86-windows\tools;%PATH%
- cmd: echo %PATH%
- cmd: set CL=/MP
- cmd: configure.bat --enable-debug
- cmd: cd src
- cmd: nmake install
- cmd: cd test
- cmd: call testall.bat
- 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: releasetest\releasetest.bat