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:
|
2018-11-07 08:37:43 +00:00
|
|
|
- sudo apt-get -y install ccache qt511-meta-minimal qt511quickcontrols python3-setuptools qt511quickcontrols2 qt511svg libgl1-mesa-dev x11proto-xext-dev libx11-dev
|
2018-11-06 11:58:37 +00:00
|
|
|
- sudo apt-get build-dep mpv
|
2018-11-05 13:30:33 +00:00
|
|
|
- source /opt/qt*/bin/qt*-env.sh
|
2018-10-23 16:20:14 +01:00
|
|
|
|
|
|
|
script:
|
2018-11-06 10:25:26 +00:00
|
|
|
- wget https://github.com/NamedKitten/mpv-builder/releases/download/continuous/deps.tar.xz
|
|
|
|
- sudo tar xvf deps.tar.xz -C /
|
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
|
|
|
|