-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
53 lines (32 loc) · 980 Bytes
/
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
image:
- Visual Studio 2019
clone_folder: c:\projects\source
environment:
Qt6_INSTALL_DIR: 'C:\Qt\6.2.4\msvc2019_64'
PATH: '%Qt6_INSTALL_DIR%\bin;%PATH%'
build_script:
- cmd: >-
ls 'C:\Qt'
mkdir build
cd build
set QTDIR=%Qt6_INSTALL_DIR%
set QT_DIR=%Qt6_INSTALL_DIR%
set "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
set "OPENSSL_ROOT_DIR=C:/OpenSSL-v111-Win64"
cmake c:\projects\source -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_OPENSSL=ON -DRUN_IN_PLACE=OFF
cmake --build . --parallel 2 --config "Release"
cpack -G WIX -B package
mkdir artifact
ls
ls package
ls Release
cp package/*.msi artifact/.
cp Release/*.exe artifact/.
7z a -tzip artifact.zip artifact/
artifacts:
- path: build\package\*.msi
name: installer
- path: build\src\Release\*.exe
name: executable
- path: build\artifact.zip
name: archive