2017-10-06 22:58:48 +03:00
|
|
|
#!/bin/bash -ex
|
2017-08-04 13:11:47 +03:00
|
|
|
|
|
|
|
apt-get update
|
2018-06-04 18:19:09 +03:00
|
|
|
apt-get install --no-install-recommends -y build-essential git libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev wget cmake ninja-build ccache
|
2018-01-14 00:37:06 +03:00
|
|
|
|
|
|
|
cd /yuzu
|
2017-08-04 13:11:47 +03:00
|
|
|
|
2018-06-04 18:19:09 +03:00
|
|
|
export PATH=/usr/lib/ccache:$PATH
|
|
|
|
ln -sf /usr/bin/ccache /usr/lib/ccache/cc
|
|
|
|
ln -sf /usr/bin/ccache /usr/lib/ccache/c++
|
2017-08-04 13:11:47 +03:00
|
|
|
mkdir build && cd build
|
2018-06-04 18:19:09 +03:00
|
|
|
ccache --show-stats > ccache_before
|
2018-08-29 16:42:53 +03:00
|
|
|
cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -G Ninja
|
2018-05-28 12:34:47 +03:00
|
|
|
ninja
|
2018-06-04 18:19:09 +03:00
|
|
|
ccache --show-stats > ccache_after
|
|
|
|
diff -U100 ccache_before ccache_after || true
|
2017-08-04 13:11:47 +03:00
|
|
|
|
|
|
|
ctest -VV -C Release
|