mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-03 19:59:43 +01:00
65 lines
2.3 KiB
YAML
Executable File
65 lines
2.3 KiB
YAML
Executable File
version: 666.{build}
|
|
skip_tags: false
|
|
os: Visual Studio 2017
|
|
clone_depth: 1
|
|
clone_folder: C:\rssguard
|
|
|
|
environment:
|
|
QTDIR: 'C:\Qt\5.9\msvc2017_64'
|
|
QMAKESPEC: win32-msvc
|
|
COMPILERBAT: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"'
|
|
access_token:
|
|
secure: XCWdr9wPgK4gm6289WXCg2vtMA02eBSnj6eKHC+ps6Z5lgw0jsK09UQ5y9E9ZFwS
|
|
matrix:
|
|
- qmake_args: 'USE_WEBENGINE=false'
|
|
- qmake_args: 'USE_WEBENGINE=true'
|
|
|
|
artifacts:
|
|
- path: '**\rssguard*win64.exe'
|
|
name: rssguard-exe
|
|
|
|
- path: '**\rssguard*win64.7z'
|
|
name: rssguard-7z
|
|
|
|
deploy:
|
|
description: 'release by appveyor'
|
|
provider: GitHub
|
|
auth_token:
|
|
secure: XCWdr9wPgK4gm6289WXCg2vtMA02eBSnj6eKHC+ps6Z5lgw0jsK09UQ5y9E9ZFwS # your encrypted token from GitHub
|
|
artifact: /rssguard-build\\.*win64\.(exe|7z)/ # upload all NuGet packages to release assets
|
|
draft: false
|
|
prerelease: false
|
|
on:
|
|
appveyor_repo_tag: true # deploy on tag push only
|
|
|
|
build_script:
|
|
- git submodule update --init --recursive
|
|
- set "QT_PLUGIN_PATH=%QTDIR%\plugins"
|
|
- set "PATH=%QTDIR%\bin;%PATH%"
|
|
- '%COMPILERBAT%'
|
|
- dir
|
|
- cd ..
|
|
- mkdir rssguard-build
|
|
- cd rssguard-build
|
|
- qmake.exe C:\rssguard "%qmake_args%"
|
|
- nmake
|
|
- nmake windows_all
|
|
|
|
on_success:
|
|
- dir
|
|
- git clone -q --depth=1 https://github.com/martinrotter/rssguard.wiki.git C:\rssguard-wiki
|
|
- 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"
|
|
- cd ..\rssguard-build
|
|
- for /f "tokens=*" %%F in ('dir /b *.7z') do curl --upload-file %%F https://transfer.sh/%%F --silent >> ..\rssguard-wiki\Windows-development-builds.md
|
|
- echo.>> ..\rssguard-wiki\Windows-development-builds.md
|
|
- for /f "tokens=*" %%F in ('dir /b *.exe') do curl --upload-file %%F https://transfer.sh/%%F --silent >> ..\rssguard-wiki\Windows-development-builds.md
|
|
- echo.>> ..\rssguard-wiki\Windows-development-builds.md
|
|
- cd ..\rssguard-wiki
|
|
- git add *.*
|
|
- git commit -m "New files."
|
|
- git pull origin master
|
|
- git push origin master
|