forked from gcompris/GCompris-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (39 loc) · 1.33 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
version: 1.0.{build}
branches:
only:
- KDE/0.97
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform:
- x64
- x86
init:
- cmd:
environment:
CMAKE_GENERATOR: Visual Studio 15
QT5: C:\Qt\5.13.2\msvc2017
install:
- cmd: >-
if "%platform%"=="x86" set CMAKE_GENERATOR=Visual Studio 15
if "%platform%"=="x86" set QT5=C:\Qt\5.13.2\msvc2017
if "%platform%"=="x64" set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
if "%platform%"=="x64" set QT5=C:\Qt\5.13.2\msvc2017_64
set Path=%QT5%\bin;%Path%
cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" -DCMAKE_SYSTEM_VERSION=10.0 "-DCMAKE_PREFIX_PATH=%QT5%" -DVCREDIST_DIR="build" -DGRAPHICAL_RENDERER=software
cmake --build build --config RelWithDebInfo --target DlAndInstallBundledConvertedOggs
cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" -DCMAKE_SYSTEM_VERSION=10.0 "-DCMAKE_PREFIX_PATH=%QT5%" -DVCREDIST_DIR="build" -DGRAPHICAL_RENDERER=software
cmake --build build --config RelWithDebInfo
cmake --build build --config RelWithDebInfo --target DlAndInstallBundledTranslations
cmake --build build --config RelWithDebInfo --target package
build: off
artifacts:
- path: build/*.exe
deploy:
- provider: FTP
host: gcompris.net
protocol: sftp
username: releaser
password:
secure: kt7OLxDoaFlmFwDtcGfa/X3uVhQj0y1q2YVdBroxp9U=
folder: www