docker.sh 484 B

1234567891011121314151617
  1. #!/bin/bash -ex
  2. cd /citra
  3. apt-get update
  4. apt-get install -y build-essential libsdl2-dev qtbase5-dev libqt5opengl5-dev libcurl4-openssl-dev libssl-dev wget git
  5. # Get a recent version of CMake
  6. wget https://cmake.org/files/v3.9/cmake-3.9.0-Linux-x86_64.sh
  7. echo y | sh cmake-3.9.0-Linux-x86_64.sh --prefix=cmake
  8. export PATH=/citra/cmake/cmake-3.9.0-Linux-x86_64/bin:$PATH
  9. mkdir build && cd build
  10. cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release
  11. make -j4
  12. ctest -VV -C Release