Travis build fix
This commit is contained in:
parent
b5f97c0d94
commit
c4651cd915
1 changed files with 25 additions and 10 deletions
35
.travis.yml
35
.travis.yml
|
@ -10,9 +10,9 @@ jobs:
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode13.4
|
osx_image: xcode13.4
|
||||||
language: cpp
|
language: cpp
|
||||||
cache: ccache
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- PATH=/usr/local/opt/ccache/libexec:$PATH
|
||||||
- QT_VERSION=5.15.2
|
- QT_VERSION=5.15.2
|
||||||
- QIF_VERSION=4.4
|
- QIF_VERSION=4.4
|
||||||
- QT_BIN_DIR=$HOME/Qt/$QT_VERSION/clang_64/bin
|
- QT_BIN_DIR=$HOME/Qt/$QT_VERSION/clang_64/bin
|
||||||
|
@ -21,7 +21,7 @@ jobs:
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [ ! -f $QT_BIN_DIR/qmake ]; then \
|
if [ ! -f $QT_BIN_DIR/qmake ]; then \
|
||||||
brew install p7zip && \
|
brew install p7zip ccache && \
|
||||||
python3 -m pip install --upgrade pip && \
|
python3 -m pip install --upgrade pip && \
|
||||||
pip install -U aqtinstall requests py7zr && \
|
pip install -U aqtinstall requests py7zr && \
|
||||||
pip show aqtinstall && \
|
pip show aqtinstall && \
|
||||||
|
@ -32,6 +32,9 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- bash deploy/build_macos.sh
|
- bash deploy/build_macos.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ccache --show-stats
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
token: $GH_TOKEN
|
token: $GH_TOKEN
|
||||||
|
@ -43,7 +46,8 @@ jobs:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
- ccache
|
||||||
|
- directories:
|
||||||
- $HOME/Qt
|
- $HOME/Qt
|
||||||
- $HOME/Library/Caches/Homebrew
|
- $HOME/Library/Caches/Homebrew
|
||||||
|
|
||||||
|
@ -153,7 +157,6 @@ jobs:
|
||||||
- name: Linux
|
- name: Linux
|
||||||
os: linux
|
os: linux
|
||||||
dist: focal
|
dist: focal
|
||||||
cache: ccache
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -163,6 +166,7 @@ jobs:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- libgl-dev
|
- libgl-dev
|
||||||
- mesa-common-dev
|
- mesa-common-dev
|
||||||
|
- libpulse-dev
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- QT_VERSION=5.15.2
|
- QT_VERSION=5.15.2
|
||||||
|
@ -184,6 +188,9 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- bash deploy/build_linux.sh
|
- bash deploy/build_linux.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ccache --show-stats
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
token: $GH_TOKEN
|
token: $GH_TOKEN
|
||||||
|
@ -195,7 +202,8 @@ jobs:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
- ccache
|
||||||
|
- directories:
|
||||||
- $HOME/Qt
|
- $HOME/Qt
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
|
@ -203,7 +211,6 @@ jobs:
|
||||||
os: linux
|
os: linux
|
||||||
language: android
|
language: android
|
||||||
dist: xenial
|
dist: xenial
|
||||||
cache: ccache
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -262,6 +269,9 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- bash deploy/build_android.sh
|
- bash deploy/build_android.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ccache --show-stats
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
token: $GH_TOKEN
|
token: $GH_TOKEN
|
||||||
|
@ -273,7 +283,8 @@ jobs:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
- ccache
|
||||||
|
- directories:
|
||||||
- $HOME/Qt
|
- $HOME/Qt
|
||||||
- $HOME/.gradle/caches/
|
- $HOME/.gradle/caches/
|
||||||
- $HOME/.gradle/wrapper/
|
- $HOME/.gradle/wrapper/
|
||||||
|
@ -287,7 +298,7 @@ jobs:
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- PATH=$PATH:~/go/bin
|
- PATH=/usr/local/opt/ccache/libexec:~/go/bin:$PATH
|
||||||
- QT_VERSION=5.15.2
|
- QT_VERSION=5.15.2
|
||||||
- QT_BIN_DIR=$HOME/Qt/$QT_VERSION/ios/bin
|
- QT_BIN_DIR=$HOME/Qt/$QT_VERSION/ios/bin
|
||||||
- QT_IOS_BIN=$QT_BIN_DIR
|
- QT_IOS_BIN=$QT_BIN_DIR
|
||||||
|
@ -295,7 +306,7 @@ jobs:
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [ ! -f $QT_BIN_DIR/qmake ]; then \
|
if [ ! -f $QT_BIN_DIR/qmake ]; then \
|
||||||
brew install p7zip && \
|
brew install p7zip ccache && \
|
||||||
python3 -m pip install --upgrade pip && \
|
python3 -m pip install --upgrade pip && \
|
||||||
pip install -U aqtinstall requests py7zr && \
|
pip install -U aqtinstall requests py7zr && \
|
||||||
pip show aqtinstall && \
|
pip show aqtinstall && \
|
||||||
|
@ -307,9 +318,13 @@ jobs:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash deploy/build_ios.sh
|
- bash deploy/build_ios.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ccache --show-stats
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
- ccache
|
||||||
|
- directories:
|
||||||
- $HOME/Qt
|
- $HOME/Qt
|
||||||
- $HOME/Library/Caches/Homebrew
|
- $HOME/Library/Caches/Homebrew
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue