1 Star 0 Fork 22

linch2008/LunarCalendar

forked from kl222/LunarCalendar 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 5.15 KB
一键复制 编辑 原始数据 按行查看 历史
kl222 提交于 2020-01-27 20:32 . Release v0.1.9
version: 'v0.1.9.{build}'
cache:
- Package
environment:
STOREPASS:
secure: l9BZEU39F1a4vSkhwl0CHR+yh6CD1c7byGzMv+1NUa4=
matrix:
##### msvc 2013 ########
- BUILD_TARGERT: windows_msvc
#GENERATORS: "Visual Studio 12 2013"
TOOLCHAIN_VERSION: 12
QT_ROOT: C:\Qt\5.6\msvc2013
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 12 2013 Win64"
TOOLCHAIN_VERSION: 12
QT_ROOT: C:\Qt\5.6\msvc2013_64
BUILD_ARCH: x64
##### msvc 2015 ########
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.10\msvc2015
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015 Win64"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.10\msvc2015_64
BUILD_ARCH: x64
- BUILD_TARGERT: windows_msvc
#GENERATORS: "Visual Studio 14 2015"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.6\msvc2015
BUILD_ARCH: x86
- BUILD_TARGERT: windows_msvc
GENERATORS: "Visual Studio 14 2015 Win64"
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.6\msvc2015_64
BUILD_ARCH: x64
##### msvc 2017 ########
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
#GENERATORS: "Visual Studio 14 2015"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.12\msvc2017
BUILD_ARCH: x86
STATIC: ON
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 14 2015 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.12\msvc2017_64
BUILD_ARCH: x64
STATIC: ON
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 14 2015 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.10\msvc2017_64
BUILD_ARCH: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATORS: "Visual Studio 14 2015 Win64"
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
QT_ROOT: C:\Qt\5.9\msvc2017_64
BUILD_ARCH: x64
##### mingw ########
- BUILD_TARGERT: windows_mingw
GENERATORS: "MSYS Makefiles"
TOOLCHAIN_VERSION: 492_32
QT_ROOT: C:\Qt\5.6\mingw49_32
BUILD_ARCH: x86
- BUILD_TARGERT: windows_mingw
TOOLCHAIN_VERSION: 530_32
QT_ROOT: C:\Qt\5.10\mingw53_32
BUILD_ARCH: x86
- BUILD_TARGERT: windows_mingw
TOOLCHAIN_VERSION: 730_64
QT_ROOT: C:\Qt\5.12\mingw73_64
BUILD_ARCH: x64
##### android ########
- BUILD_TARGERT: android
GENERATORS: "MSYS Makefiles"
BUILD_ARCH: "armeabi-v7a"
ANDROID_ARM_NEON: ON
QT_VERSION_DIR: 5.12
QT_VERSION: 5.12.6
ANDROID_API: android-24
TOOLCHAIN_VERSION: 4.9
matrix:
fast_finish: false
init:
- set varch=%BUILD_ARCH%
- if "%BUILD_ARCH%" == "x64" set varch=amd64
- if "%BUILD_TARGERT%" == "windows_msvc" if %TOOLCHAIN_VERSION% LSS 15 (call "C:\Program Files (x86)\Microsoft Visual Studio %TOOLCHAIN_VERSION%.0\VC\vcvarsall.bat" %varch%) else (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %varch%)
- echo NUMBER_OF_PROCESSORS=%NUMBER_OF_PROCESSORS%
- echo PROCESSOR_IDENTIFIER=%PROCESSOR_IDENTIFIER%
- if NOT "%QT_ROOT%" == "NO" for /f "delims=" %%i in ('%QT_ROOT%/bin/qmake -query QT_VERSION') do (set QT_VERSION=%%i)
- echo QT_ROOT=%QT_ROOT%
- echo QT_VERSION=%QT_VERSION%
- del C:\msys64\usr\bin\link.exe
install:
- C:\msys64\autorebase.bat
- C:\msys64\usr\bin\pacman.exe -S --noconfirm unzip
#- if "%BUILD_TARGERT%"=="windows_mingw" set PATH=C:\Qt\Tools\mingw%TOOLCHAIN_VERSION%_32\bin;%PATH%
- if "%BUILD_TARGERT%" == "windows_mingw" set MSYSTEM=MINGW32 #设置编译系统为MINGW32
before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
- git clone https://github.com/KangLin/RabbitCommon.git
- set RabbitCommon_DIR=%APPVEYOR_BUILD_FOLDER%/RabbitCommon
- if "%BUILD_TARGERT%" == "android" C:\msys64\usr\bin\bash.exe %APPVEYOR_BUILD_FOLDER%\ci\build-install-tools-windows.sh
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- C:\msys64\usr\bin\bash.exe %APPVEYOR_BUILD_FOLDER%\ci\build.sh
artifacts:
- path: build_${BUILD_TARGERT}/LunarCalendar-Setup-*.exe
name: LunarCalendar_$(BUILD_TARGERT)$(TOOLCHAIN_VERSION)_$(BUILD_ARCH)_$(QT_VERSION)_$(appveyor_build_version)
type: zip
- path: build_${BUILD_TARGERT}/update_windows.xml
- path: LunarCalendar_*.apk
test: off
#See:https://www.appveyor.com/docs/deployment/github/
deploy:
- provider: GitHub
#release: LunarCalendar_$(appveyor_build_version)
description: 'Release LunarCalendar $(APPVEYOR_REPO_TAG_NAME) on windows'
#token : https://github.com/settings/tokens password encrypt: https://ci.appveyor.com/tools/encrypt
auth_token:
secure: OOPAfZ25Mcq7nie4SKX21lGti5sueZZ+/6wrAxP9I8ul5dNJHW/h329lAleSYyJM
#artifact: LunarCalendar$(BUILD_TARGERT)$(TOOLCHAIN_VERSION)_$(BUILD_ARCH)_$(QT_VERSION)_$(appveyor_build_version)
#draft: true
#prerelease: true
on:
BUILD_TARGERT: windows_msvc
TOOLCHAIN_VERSION: 14
#GENERATORS: "Visual Studio 14 2015"
QT_VERSION: 5.6.3
BUILD_ARCH: x86
appveyor_repo_tag: true # deploy on tag push only
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/linch2008/LunarCalendar.git
git@gitee.com:linch2008/LunarCalendar.git
linch2008
LunarCalendar
LunarCalendar
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385