-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
70 lines (60 loc) · 1.99 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
version: 2.0.7-{build}
image:
- Ubuntu1604
- Visual Studio 2019
environment:
matrix:
- BUILD_COMBO: linux-gcc
CMAKE_PREFIX_PATH: "/home/appveyor/Qt/5.14/gcc_64"
QT_DIR: "/home/appveyor/Qt/5.14/gcc_64"
- BUILD_COMBO: linux-clang
CMAKE_PREFIX_PATH: "/home/appveyor/Qt/5.14/gcc_64"
QT_DIR: "/home/appveyor/Qt/5.14/gcc_64"
- BUILD_COMBO: windows-mingw
CMAKE_PREFIX_PATH: "C:\\Qt\\5.14\\mingw73_64"
QT_DIR: "C:\\Qt\\5.14\\mingw73_64"
- BUILD_COMBO: windows-msvc
CMAKE_PREFIX_PATH: "C:\\Qt\\5.14\\msvc2017_64"
QT_DIR: "C:\\Qt\\5.14\\msvc2017_64"
matrix:
exclude:
- image: Ubuntu1604
BUILD_COMBO: windows-mingw
- image: Ubuntu1604
BUILD_COMBO: windows-msvc
- image: Visual Studio 2019
BUILD_COMBO: linux-gcc
- image: Visual Studio 2019
BUILD_COMBO: linux-clang
configuration: Release
install:
- cmd: set PATH=%PATH%;%QT_DIR%\\bin
- sh: export PATH="${PATH}:${QT_DIR}/bin"
- ps: ./ci/setup.ps1
#- sh: source /opt/qt512/bin/qt512-env.sh
build_script:
- ps: ./ci/build.ps1
after_build:
- ps: ./ci/pack.ps1
- ps: $env:VERSION_STR = Get-Content -Path ./version.txt -TotalCount 1
artifacts:
- path: build/UnCSO2-*-win64_mingw.7z
name: mingw_binaries
- path: build/UnCSO2-*-win64_msvc.7z
name: msvc_binaries
- path: 'build/package/UnCSO2-*-linux64_gcc.AppImage'
name: gcc_binaries
- path: 'build/package/UnCSO2-*-linux64_clang.AppImage'
name: linuxclang_binaries
deploy:
- provider: GitHub
release: Version $(VERSION_STR)
auth_token:
secure: zFKThFJ7iaLK4Ou84pDrX0bpvlThqt6naZK//cneoJBdiAn3hKlzUA+Eq0qYqZ5g
artifact: mingw_binaries,gcc_binaries
on:
APPVEYOR_REPO_TAG: true
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# - sh: export APPVEYOR_SSH_BLOCK=true
# - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -