2019-07-13 20:34:40 +07:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
|
|
cd /yuzu
|
|
|
|
|
|
|
|
ccache -s
|
|
|
|
|
|
|
|
mkdir build || true && cd build
|
2019-10-04 23:09:11 +07:00
|
|
|
cmake .. -G Ninja -DDISPLAY_VERSION=$1 -DYUZU_USE_BUNDLED_UNICORN=ON -DYUZU_USE_QT_WEB_ENGINE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON
|
2019-07-13 20:34:40 +07:00
|
|
|
|
|
|
|
ninja
|
|
|
|
|
|
|
|
ccache -s
|
|
|
|
|
2019-10-03 21:53:03 +07:00
|
|
|
# Ignore zlib's tests, since they aren't gated behind a CMake option.
|
|
|
|
ctest -VV -E "(example|example64)" -C Release
|