1 Star 0 Fork 22

无言/LunarCalendar

forked from kl222/LunarCalendar 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 3.60 KB
一键复制 编辑 原始数据 按行查看 历史
kl222 提交于 2024-04-03 20:54 . Release v1.0.4
sudo: required
dist: xenial
language: cpp
cache:
- apt
- directories:
- Package
compiler:
- g++
os:
- unix
addons:
ssh_known_hosts:
- github.com
env:
global:
- SOURCE_DIR=$TRAVIS_BUILD_DIR
- RABBITIM_USE_REPOSITORIES="TRUE"
- QMAKE=qmake
- RABBITIM_BUILD_THIRDLIBRARY="TRUE"
matrix:
# DOWNLOAD_QT:
# APT: Use apt to install from ubuntu source;
# TRUE: download from download.qt.io
# FALSE: install from https://launchpad.net/~beineri
- BUILD_TARGERT="unix" DOWNLOAD_QT=APT
- BUILD_TARGERT="unix" DOWNLOAD_QT=APT GENERATORS="Unix Makefiles"
- BUILD_TARGERT="unix" QT_VERSION_DIR=512 QT_VERSION=5.12.3 DOWNLOAD_QT=FALSE
- BUILD_TARGERT="unix" QT_VERSION_DIR=511 QT_VERSION=5.11.3 DOWNLOAD_QT=FALSE GENERATORS="Unix Makefiles" STATIC=ON
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.14 QT_VERSION=5.14.0 DOWNLOAD_QT=TRUE
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.14 QT_VERSION=5.14.0 DOWNLOAD_QT=TRUE GENERATORS="Unix Makefiles"
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 DOWNLOAD_QT=TRUE GENERATORS="Unix Makefiles"
- BUILD_TARGERT="unix" BUILD_ARCH="unix" QT_VERSION_DIR=5.13 QT_VERSION=5.13.2 DOWNLOAD_QT=TRUE STATIC=ON
# BUILD_ARCH qt 大于等于 5.14.0 可选(arm64-v8a armeabi-v7a x86_64 x86)组合
#- BUILD_TARGERT="android" BUILD_ARCH="armeabi-v7a x86" ANDROID_ARM_NEON=ON QT_VERSION_DIR=5.14 QT_VERSION=5.14.0 ANDROID_API=android-24 DOWNLOAD_QT=TRUE
- BUILD_TARGERT="android" BUILD_ARCH="armeabi-v7a" ANDROID_ARM_NEON=ON QT_VERSION_DIR=5.13 QT_VERSION=5.13.2 ANDROID_API=android-24 DOWNLOAD_QT=TRUE GENERATORS="Unix Makefiles"
- BUILD_TARGERT="android" BUILD_ARCH="armeabi-v7a" ANDROID_ARM_NEON=ON QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-24 DOWNLOAD_QT=TRUE
- BUILD_TARGERT="android" BUILD_ARCH="x86" QT_VERSION_DIR=5.12 QT_VERSION=5.12.6 ANDROID_API=android-24 DOWNLOAD_QT=TRUE STATIC=ON
before_install:
- echo "TRAVIS_OS_NAME=${TRAVIS_OS_NAME}"
- sudo apt-get install -y -qq xvfb xpra
- sudo Xvfb :99 -ac &
- export DISPLAY=:99.0
- mkdir -p ${SOURCE_DIR}/Tools
- export VERSION="v1.0.4"
install:
- cd ${SOURCE_DIR}
- git clone https://github.com/KangLin/RabbitCommon.git
- export RabbitCommon_DIR="`pwd`/RabbitCommon"
- bash ci/build-install-tools.sh > /dev/null
# - |
# if [ "$BUILD_TARGERT"="unix" -a -z "$RABBIT_ARCH" ]; then
# source /opt/qt511/bin/qt511-env.sh
# fi
before_script:
- cd ${SOURCE_DIR}
script:
- bash ${SOURCE_DIR}/ci/build.sh ${SOURCE_DIR}
#after_script:
# - "xpra stop :99"
notifications:
email: kl222@126.com
on_success: never # [always|never|change]
on_failure: always
#deploy:
# provider: releases
# api_key:
# secure: Ay7qSOP76v3aEYH8MDmVcgpB5zM6X8h5+0ewcYeEzpzhPNq+W7Wsny8TAv1ZUrZraJnpeh46z1hqlE+Be3sm4/MRGK0XrEdv681zexvVnAcQwfU79TuMCxpRMX7Yh1OhDKd0PfPo3NHGv5tJbLAJCy32f7lCMH8K3Dgiqw2zb5OOqrHHXJYjtntX4FhlEDu9r3X4i/jJsPsiXQBPjb5697pj/xxg4K1w3HC/X9OVDoPAyiEJWHWmcvdNDehq7hQNT/AYGlNNnbs7M8zrLgrUjQYxjumtn1pDbpkVYqXVFnB3rjjlqk4WFuMrq3lEg83OmNWdpX4xvA+lo2Nid8VpFMSbbgO3BPe4Sqq5uWDMbvhH7Tnpr+y31OllFOsEU2uu6GbtSFvsllNDrJbgETsL/eIPdoIHQqcV0nZNPylEd+KHh0fFJ+i/etGwZGigsXgGKLBDbnQ6b2BndbPCafEbF3hotEjNySrKxnmSCTQQ++5OtkjhhLMeYyIpEI1+7VMXynH0fuSgO8z5nKi1z4y0qS5Vm+VPSjuKgcdcpXEOwomL4jarF/nQATv9b2M9o7yzW0awAMtBqxX3WLO64P1q8wfAOYo/oYZbd6ag30WGxmsHIgC9///tLY+lg4xfN+J6u9RB5VQuXt8Q7yWiSkMGSqQF1FS8t2LOV1uV9JqBF5w=
# file: $TRAVIS_BUILD_DIR/../lunarcalendar_*_amd64.deb
# skip_cleanup: true
# draft: true
# on:
# tags: true
# condition: "$BUILD_TARGERT=unix && $QT_VERSION=5.12.4"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/nothingwd/LunarCalendar.git
git@gitee.com:nothingwd/LunarCalendar.git
nothingwd
LunarCalendar
LunarCalendar
master

搜索帮助