diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2017-10-06 21:58:48 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2017-10-07 13:10:03 +0200 |
commit | 15a2388a33b1306dcaf16b62432c7a13b40ca2a3 (patch) | |
tree | 6b1cf31a0e5a02359131d0d11f17b35a009e6a1e /.travis/linux | |
parent | Merge pull request #2975 from shinyquagsire23/archive-ncch-container-and-override (diff) | |
download | yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar.gz yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar.bz2 yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar.lz yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar.xz yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.tar.zst yuzu-15a2388a33b1306dcaf16b62432c7a13b40ca2a3.zip |
Diffstat (limited to '.travis/linux')
-rwxr-xr-x | .travis/linux/build.sh | 3 | ||||
-rwxr-xr-x | .travis/linux/deps.sh | 3 | ||||
-rwxr-xr-x | .travis/linux/docker.sh | 17 | ||||
-rwxr-xr-x | .travis/linux/upload.sh | 14 |
4 files changed, 37 insertions, 0 deletions
diff --git a/.travis/linux/build.sh b/.travis/linux/build.sh new file mode 100755 index 000000000..98433d184 --- /dev/null +++ b/.travis/linux/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash -ex + +docker run -v $(pwd):/citra ubuntu:16.04 /bin/bash /citra/.travis/linux/docker.sh diff --git a/.travis/linux/deps.sh b/.travis/linux/deps.sh new file mode 100755 index 000000000..be3f6bece --- /dev/null +++ b/.travis/linux/deps.sh @@ -0,0 +1,3 @@ +#!/bin/sh -ex + +docker pull ubuntu:16.04 diff --git a/.travis/linux/docker.sh b/.travis/linux/docker.sh new file mode 100755 index 000000000..e27af5600 --- /dev/null +++ b/.travis/linux/docker.sh @@ -0,0 +1,17 @@ +#!/bin/bash -ex + +cd /citra + +apt-get update +apt-get install -y build-essential libsdl2-dev qtbase5-dev libqt5opengl5-dev libcurl4-openssl-dev libssl-dev wget git + +# Get a recent version of CMake +wget https://cmake.org/files/v3.9/cmake-3.9.0-Linux-x86_64.sh +echo y | sh cmake-3.9.0-Linux-x86_64.sh --prefix=cmake +export PATH=/citra/cmake/cmake-3.9.0-Linux-x86_64/bin:$PATH + +mkdir build && cd build +cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release +make -j4 + +ctest -VV -C Release diff --git a/.travis/linux/upload.sh b/.travis/linux/upload.sh new file mode 100755 index 000000000..dd265e0fd --- /dev/null +++ b/.travis/linux/upload.sh @@ -0,0 +1,14 @@ +#!/bin/bash -ex + +. .travis/common/pre-upload.sh + +REV_NAME="citra-linux-${GITDATE}-${GITREV}" +ARCHIVE_NAME="${REV_NAME}.tar.xz" +COMPRESSION_FLAGS="-cJvf" + +mkdir "$REV_NAME" + +cp build/src/citra/citra "$REV_NAME" +cp build/src/citra_qt/citra-qt "$REV_NAME" + +. .travis/common/post-upload.sh |