From e4cc55dc19af6274143a97c634566988d2eb8b29 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 29 Apr 2025 21:39:50 +0200 Subject: [PATCH] Move spellcheck before build This saves time when there's a syntax error in deploy_linux.sh --- .ci/build-linux-aarch64.sh | 4 ++-- .ci/build-linux.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/build-linux-aarch64.sh b/.ci/build-linux-aarch64.sh index 9021be00cd..f53a24d249 100755 --- a/.ci/build-linux-aarch64.sh +++ b/.ci/build-linux-aarch64.sh @@ -4,6 +4,8 @@ if [ -z "$CIRRUS_CI" ]; then cd rpcs3 || exit 1 fi +shellcheck .ci/*.sh + git config --global --add safe.directory '*' # Pull all the submodules except llvm, opencv, sdl and curl @@ -49,8 +51,6 @@ ninja; build_status=$?; cd .. -shellcheck .ci/*.sh - # If it compiled succesfully let's deploy. # Azure and Cirrus publish PRs as artifacts only. { [ "$CI_HAS_ARTIFACTS" = "true" ]; diff --git a/.ci/build-linux.sh b/.ci/build-linux.sh index f5872a3ac6..f44efea2a4 100755 --- a/.ci/build-linux.sh +++ b/.ci/build-linux.sh @@ -4,6 +4,8 @@ if [ -z "$CIRRUS_CI" ]; then cd rpcs3 || exit 1 fi +shellcheck .ci/*.sh + git config --global --add safe.directory '*' # Pull all the submodules except llvm, opencv, sdl and curl @@ -60,8 +62,6 @@ ninja; build_status=$?; cd .. -shellcheck .ci/*.sh - # If it compiled succesfully let's deploy. # Azure and Cirrus publish PRs as artifacts only. { [ "$CI_HAS_ARTIFACTS" = "true" ];