-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
appveyor.yml
54 lines (47 loc) · 1.5 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
#
# 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'
- '*.md'
#---------------------------------#
# environment configuration #
#---------------------------------#
environment:
matrix:
# 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.7 / 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.7\msvc2019_64
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf false
# 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;%PATH%
- cmd: echo %PATH%
- cmd: qmake CONFIG+=release
- cmd: nmake
- cmd: cpi.exe tests\helloworld.cpp
- cmd: cpi.exe tests\sqrt.cpp 7
- cmd: cpi.exe tests\fibonacci.cpp 10
- cmd: cpi.exe tests\unique_ptr.cpp
- cmd: cpi.exe tests\optional.cpp
- cmd: cpi.exe tests\if_initializer.cpp
- cmd: cpi.exe tests\ranges.cpp
- cmd: cpi.exe tests\concept_add.cpp