docker.sh 578 B

12345678910111213141516171819202122
  1. #!/bin/bash -ex
  2. apt-get update
  3. apt-get install -y build-essential git libcurl4-openssl-dev libqt5opengl5-dev libsdl2-dev libssl-dev python qtbase5-dev wget
  4. # Get a recent version of CMake
  5. wget https://cmake.org/files/v3.10/cmake-3.10.1-Linux-x86_64.sh
  6. sh cmake-3.10.1-Linux-x86_64.sh --exclude-subdir --prefix=/ --skip-license
  7. mkdir /unicorn
  8. cd /unicorn
  9. git clone https://github.com/yuzu-emu/unicorn .
  10. UNICORN_ARCHS=aarch64 ./make.sh
  11. ./make.sh install
  12. cd /yuzu
  13. mkdir build && cd build
  14. cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release
  15. make -j4
  16. ctest -VV -C Release