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-06 11:41:50 +00:00
|
|
|
- sudo apt-get -y install ccache qt511-meta-minimal qt511quickcontrols python3-setuptools qt511quickcontrols2 qt511svg libgl1-mesa-dev
|
2018-11-06 11:52:04 +00:00
|
|
|
- sudo apt-get -y install libavutil-dev libbs2b-dev libegl1-mesa-dev libgl1-mesa-dev libguess-dev liblcms2-dev liblua5.2-dev libpulse-dev librubberband-dev libswscale-dev libuchardet-dev libx11-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxss-dev libxv-dev zlib1g-dev libmp3lame-dev libopus-dev libx264-dev libx265-dev libtheora-dev libtwolame-dev libpulse-dev libopenjpeg-dev libass-dev libgme-dev libwavpack-dev libfribidi-dev
|
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
|
|
|
|