forked from Dr-Incognito/V2Ray-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (28 loc) · 1.07 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
version: "{branch}-{build}"
os:
- Visual Studio 2017
environment:
appveyor_build_worker_cloud: gce
appveyor_rdp_password: jS^xg8tx5hkEB&VX
matrix:
- QT_HOME: C:\Qt\5.13.2\mingw73_64
- QT_HOME: C:\Qt\5.12.6\mingw73_64
branches:
only:
- 'master'
init:
- ps: iex ((new-object net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- set MINGW_HOME=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64
- set PATH=%QT_HOME%\bin;%MINGW_HOME%\bin;%PATH%
- git submodule update --init --recursive
build_script:
# Qt::endl and QByteArray::AbortOnBase64DecodingErrors are not supported until Qt 5.14 and 5.15, respectively.
- sed -i "s/Qt::endl/endl/g" src/main.cpp
- sed -i "s/QByteArray::AbortOnBase64DecodingErrors/QByteArray::Base64Encoding/g" src/serverconfighelper.cpp
- qmake src\V2Ray-Desktop.pro
- mingw32-make -j4
on_finish:
- ps: $blockRdp = $false; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
matrix:
fast_finish: false