diff options
Diffstat (limited to '.ci/scripts/clang')
| -rwxr-xr-x | .ci/scripts/clang/docker.sh | 6 | ||||
| -rw-r--r-- | .ci/scripts/clang/exec.sh | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | .ci/scripts/clang/upload.sh | 0 |
3 files changed, 3 insertions, 5 deletions
diff --git a/.ci/scripts/clang/docker.sh b/.ci/scripts/clang/docker.sh index 885d74e97..94a9ca0ec 100755 --- a/.ci/scripts/clang/docker.sh +++ b/.ci/scripts/clang/docker.sh | |||
| @@ -3,14 +3,12 @@ | |||
| 3 | # Exit on error, rather than continuing with the rest of the script. | 3 | # Exit on error, rather than continuing with the rest of the script. |
| 4 | set -e | 4 | set -e |
| 5 | 5 | ||
| 6 | cd /yuzu | ||
| 7 | |||
| 8 | ccache -s | 6 | ccache -s |
| 9 | 7 | ||
| 10 | mkdir build || true && cd build | 8 | mkdir build || true && cd build |
| 11 | cmake .. -DDISPLAY_VERSION=$1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/clang -DCMAKE_CXX_COMPILER=/usr/lib/ccache/clang++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_INSTALL_PREFIX="/usr" | 9 | cmake .. -GNinja -DDISPLAY_VERSION=$1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/clang -DCMAKE_CXX_COMPILER=/usr/lib/ccache/clang++ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_QT_TRANSLATION=ON -DCMAKE_INSTALL_PREFIX="/usr" |
| 12 | 10 | ||
| 13 | make -j$(nproc) | 11 | ninja |
| 14 | 12 | ||
| 15 | ccache -s | 13 | ccache -s |
| 16 | 14 | ||
diff --git a/.ci/scripts/clang/exec.sh b/.ci/scripts/clang/exec.sh index e56cd4325..a213aac27 100644 --- a/.ci/scripts/clang/exec.sh +++ b/.ci/scripts/clang/exec.sh | |||
| @@ -4,5 +4,5 @@ mkdir -p "ccache" || true | |||
| 4 | chmod a+x ./.ci/scripts/clang/docker.sh | 4 | chmod a+x ./.ci/scripts/clang/docker.sh |
| 5 | # the UID for the container yuzu user is 1027 | 5 | # the UID for the container yuzu user is 1027 |
| 6 | sudo chown -R 1027 ./ | 6 | sudo chown -R 1027 ./ |
| 7 | docker run -e ENABLE_COMPATIBILITY_REPORTING -e CCACHE_DIR=/yuzu/ccache -v $(pwd):/yuzu yuzuemu/build-environments:linux-fresh /bin/bash /yuzu/.ci/scripts/clang/docker.sh $1 | 7 | docker run -e ENABLE_COMPATIBILITY_REPORTING -e CCACHE_DIR=/yuzu/ccache -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-fresh /bin/bash /yuzu/.ci/scripts/clang/docker.sh "$1" |
| 8 | sudo chown -R $UID ./ | 8 | sudo chown -R $UID ./ |
diff --git a/.ci/scripts/clang/upload.sh b/.ci/scripts/clang/upload.sh index fe4e6b2ac..fe4e6b2ac 100644..100755 --- a/.ci/scripts/clang/upload.sh +++ b/.ci/scripts/clang/upload.sh | |||