1
0
Fork 0

Add apt cache again.

This commit is contained in:
NamedKitten 2018-10-16 08:13:01 +01:00
parent 4bf87b5250
commit c10c6f6169
2 changed files with 4 additions and 1 deletions

View file

@ -6,8 +6,12 @@ cache:
ccache: true ccache: true
directories: directories:
- $HOME/.ccache - $HOME/.ccache
- $HOME/.cache/apt
before_install: before_install:
- 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 add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
- sudo apt-get update - sudo apt-get update

View file

@ -6,7 +6,6 @@ export CFLAGS="-fPIC -Os"
export CCACHE_SLOPPINESS=time_macros export CCACHE_SLOPPINESS=time_macros
export CCACHE=`which ccache` export CCACHE=`which ccache`
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true
cd mpv-build cd mpv-build