Skip to content

Commit

Permalink
build, add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
petitlapin committed Feb 25, 2018
1 parent 223b926 commit cac83eb
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: 1.0.{build}
branches:
only:
- KDE/0.90
skip_tags: true
image: Visual Studio 2015
configuration: Release
platform:
- x64
- x86
init:
- cmd:
environment:
CMAKE_GENERATOR: Visual Studio 14
QT5: C:\Qt\5.9\msvc2015

install:

- cmd: >-
if "%platform%"=="x86" set CMAKE_GENERATOR=Visual Studio 14
if "%platform%"=="x86" set QT5=C:\Qt\5.9\msvc2015
if "%platform%"=="x64" set CMAKE_GENERATOR=Visual Studio 14 2015 Win64
if "%platform%"=="x64" set QT5=C:\Qt\5.9\msvc2015_64
set Path=%QT5%\bin;%Path%
cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" -DCMAKE_SYSTEM_VERSION=10.0 "-DCMAKE_PREFIX_PATH=%QT5%" -DACTIVATION_MODE=internal -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%" -DACTIVATION_MODE=internal -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

0 comments on commit cac83eb

Please sign in to comment.