2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/.travis/linux/docker.sh

15 lines
559 B
Bash
Raw Normal View History

#!/bin/bash -ex
2017-08-04 11:11:47 +01:00
apt-get update
2018-06-04 16:19:09 +01: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-13 21:37:06 +00:00
cd /yuzu
2017-08-04 11:11:47 +01:00
mkdir build && cd build
2018-09-16 19:05:51 +01:00
cmake .. -DYUZU_USE_BUNDLED_UNICORN=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 -G Ninja
2018-05-28 10:34:47 +01:00
ninja
2017-08-04 11:11:47 +01:00
ccache -s
2017-08-04 11:11:47 +01:00
ctest -VV -C Release