rssguard/.appveyor.yml

48 lines
1.5 KiB
YAML
Raw Normal View History

2016-08-25 09:45:21 +02:00
version: 666.{build}
2016-08-25 06:53:31 +02:00
skip_tags: true
2017-01-24 07:21:35 +01:00
os: Visual Studio 2015
2016-08-25 06:53:31 +02:00
clone_depth: 1
2016-09-23 08:52:50 +02:00
clone_folder: C:\rssguard
2016-08-25 07:13:31 +02:00
2016-08-25 09:27:03 +02:00
branches:
2016-08-25 09:56:08 +02:00
only:
- master
- dev
2016-08-25 09:27:03 +02:00
2016-08-25 07:13:31 +02:00
environment:
2017-01-24 07:21:35 +01:00
QTDIR: 'C:\Qt\5.8\msvc2015'
QMAKESPEC: win32-msvc2015
COMPILERBAT: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86'
2016-08-25 08:30:37 +02:00
access_token:
2016-08-25 08:35:55 +02:00
secure: XCWdr9wPgK4gm6289WXCg2vtMA02eBSnj6eKHC+ps6Z5lgw0jsK09UQ5y9E9ZFwS
2016-09-23 08:52:50 +02:00
matrix:
- qmake_args: 'USE_WEBENGINE=false'
- qmake_args: 'USE_WEBENGINE=true'
2016-08-25 08:16:08 +02:00
2016-08-25 06:53:31 +02:00
build_script:
2016-08-25 07:51:47 +02:00
- git submodule update --init --recursive
2016-08-25 07:35:57 +02:00
- set "QT_PLUGIN_PATH=%QTDIR%\plugins"
- set "PATH=%QTDIR%\bin;%PATH%"
- '%COMPILERBAT%'
2016-08-25 07:20:48 +02:00
- dir
- cd ..
- mkdir rssguard-build
- cd rssguard-build
2016-09-23 08:55:07 +02:00
- C:\Qt\5.7\msvc2013\bin\qmake.exe C:\rssguard "%qmake_args%"
2016-08-25 07:43:12 +02:00
- nmake
2016-08-25 08:16:08 +02:00
- nmake windows_all
2016-08-25 08:30:37 +02:00
2016-08-25 11:10:35 +02:00
on_success:
- dir
2016-09-23 08:52:50 +02:00
- git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
2016-08-25 11:10:35 +02:00
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "rotter.martinos@gmail.com"
- git config --global user.name "martinrotter"
2016-08-25 11:49:43 +02:00
- cd ..\rssguard-build
2016-09-23 08:52:50 +02:00
- for /f "tokens=*" %%F in ('dir /b *.7z') do curl --upload-file %%F https://transfer.sh/%%F --silent >> ..\rssguard-wiki\Windows-development-builds.md
2016-08-30 07:49:53 +02:00
- echo.>> ..\rssguard-wiki\Windows-development-builds.md
2016-08-29 12:53:40 +02:00
- cd ..\rssguard-wiki
2016-08-25 11:10:35 +02:00
- git add *.*
- git commit -m "New files."
2016-08-29 12:53:40 +02:00
- git push origin master