-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy path.appveyor.yml
49 lines (38 loc) · 1.03 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
version: '{branch}.{build}'
skip_tags: true
os:
- Visual Studio 2019
platform:
- x64
- x86
branches:
only:
- master
build:
verbosity: detailed
configuration:
- Release
environment:
artifactName: $(APPVEYOR_PROJECT_NAME)-$(APPVEYOR_REPO_COMMIT)-$(PLATFORM)
buildPlatform: $(PLATFORM)
install:
- git submodule update --init --recursive
- if [%buildPlatform%]==[x64] (set QT_VER=6)
- if [%buildPlatform%]==[x64] (set QT=C:\Qt\6.7\msvc2019_64)
- if [%buildPlatform%]==[x86] (set QT_VER=5)
- if [%buildPlatform%]==[x86] (set QT=C:\Qt\5.15.2\msvc2019)
- set QT_DIR=%QT%
- set PATH=%PATH%;%QT%\bin;%QT%\lib\cmake
before_build:
- mkdir build
- cd build
build_script:
- if [%buildPlatform%]==[x64] ( cmake .. -A x64 )
- if [%buildPlatform%]==[x86] ( cmake .. -A Win32 -DUSE_QT5=ON )
- cmake --build . --config %CONFIGURATION%
after_build:
- mkdir %artifactName%
- cp -r commander/%CONFIGURATION%/* %artifactName%
- cp "%QT%\bin\Qt%QT_VER%Core.dll" %artifactName%
artifacts:
- path: build\%artifactName%