2018-11-05 13:30:33 +00:00
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2018-10-23 16:20:14 +01:00
|
|
|
sudo: require
|
2018-11-05 13:30:33 +00:00
|
|
|
dist: xenial
|
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
directories:
|
|
|
|
- $HOME/.ccache
|
|
|
|
- $HOME/.cache/apt
|
|
|
|
#- $HOME/.cache/mpv-build
|
2018-10-23 15:54:42 +01:00
|
|
|
|
2018-10-23 16:20:14 +01:00
|
|
|
before_install:
|
2018-11-05 13:30:33 +00:00
|
|
|
- mkdir -p $HOME/.cache/apt/partial
|
|
|
|
- sudo rm -rf /var/cache/apt/archives
|
|
|
|
- sudo ln -s $HOME/.cache/apt /var/cache/apt/archives
|
|
|
|
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
|
|
|
|
- sudo apt-get update
|
|
|
|
|
|
|
|
install:
|
|
|
|
- sudo apt-get -y install python3-pip libxpm-dev libcurl3 libcurl4-openssl-dev automake libtool desktop-file-utils python3-setuptools nasm ccache qt511-meta-minimal qt511quickcontrols python3-setuptools qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev
|
|
|
|
- sudo apt-get build-dep libmpv1
|
|
|
|
- source /opt/qt*/bin/qt*-env.sh
|
2018-10-23 16:20:14 +01:00
|
|
|
|
|
|
|
script:
|
2018-11-06 10:00:49 +00:00
|
|
|
- USE_PREBUILT_MPV=1 ./scripts/build-deps.sh
|
2018-11-05 13:30:33 +00:00
|
|
|
- time bash scripts/makeappimage.sh
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- time bash scripts/upload.sh
|
2018-10-13 15:38:31 +01:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- # Do not build tags that we create when we upload to GitHub Releases
|
|
|
|
- /^(?i:continuous)/
|
2018-10-14 14:11:12 +01:00
|
|
|
|
2018-11-05 13:30:33 +00:00
|
|
|
|