summaryrefslogblamecommitdiffstats
path: root/.travis/linux/docker.sh
blob: 459d6bc7541815e80204590c85cddc8d71b548f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
               
 
              
                                                                                                                                                        
 
        

                       
                                                                                                                                                                                            
     

                    
#!/bin/bash -ex

apt-get update
apt-get install --no-install-recommends -y build-essential git libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev wget cmake ninja-build ccache

cd /yuzu

mkdir build && cd build
cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -G Ninja
ninja

ctest -VV -C Release