travis: use cache
This commit is contained in:
parent
7f408eefa3
commit
16981d6be4
7 changed files with 13 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
cd /citra
|
||||
|
||||
apt-get update
|
||||
apt-get install -y build-essential wget git python-launchpadlib
|
||||
apt-get install -y build-essential wget git python-launchpadlib ccache
|
||||
|
||||
# Install specific versions of packages with their dependencies
|
||||
# The apt repositories remove older versions regularly, so we can't use
|
||||
|
@ -20,7 +20,7 @@ echo y | sh cmake-3.10.1-Linux-x86_64.sh --prefix=cmake
|
|||
export PATH=/citra/cmake/cmake-3.10.1-Linux-x86_64/bin:$PATH
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"}
|
||||
CC=/usr/lib/ccache/gcc CXX=/usr/lib/ccache/g++ cmake .. -DCMAKE_BUILD_TYPE=Release -DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"}
|
||||
make -j4
|
||||
|
||||
ctest -VV -C Release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue