代码拉取完成,页面将自动刷新
同步操作将从 kl222/LunarCalendar 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: 'v0.2.0.{build}'
cache:
- Package
environment:
STOREPASS:
secure: l9BZEU39F1a4vSkhwl0CHR+yh6CD1c7byGzMv+1NUa4=
QT_USER:
secure: EoBPaPuJ6u9UDYpQWjKhUg==
QT_PASSWORD:
secure: ejAYGgB+3sBispRxUSr0xw==
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。