.travis-build-docker.sh 472 B

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