From 7da97e6d803bca7837a0ddbf3a95be8a9662fac7 Mon Sep 17 00:00:00 2001 From: Ty Lamontagne Date: Sat, 4 Oct 2025 14:56:30 -0400 Subject: [PATCH] cmake/ci: Allow gs runner builds without building all of pcsx2-qt --- .../linux/build-dependencies-runner.sh | 195 ++++++++++++++++++ CMakeLists.txt | 5 +- cmake/BuildParameters.cmake | 1 + cmake/SearchForStuff.cmake | 26 +-- pcsx2-gsrunner/Main.cpp | 1 - 5 files changed, 214 insertions(+), 14 deletions(-) create mode 100755 .github/workflows/scripts/linux/build-dependencies-runner.sh diff --git a/.github/workflows/scripts/linux/build-dependencies-runner.sh b/.github/workflows/scripts/linux/build-dependencies-runner.sh new file mode 100755 index 0000000000..5ad7eed33b --- /dev/null +++ b/.github/workflows/scripts/linux/build-dependencies-runner.sh @@ -0,0 +1,195 @@ +#!/usr/bin/env bash + +set -e + +if [ "$#" -ne 1 ]; then + echo "Syntax: $0 " + exit 1 +fi + +SCRIPTDIR=$(realpath $(dirname "${BASH_SOURCE[0]}")) +INSTALLDIR="$1" +if [ "${INSTALLDIR:0:1}" != "/" ]; then + INSTALLDIR="$PWD/$INSTALLDIR" +fi + +FREETYPE=2.14.1 +HARFBUZZ=12.0.0 +LIBBACKTRACE=ad106d5fdd5d960bd33fae1c48a351af567fd075 +LIBPNG=1.6.50 +LIBWEBP=1.6.0 +SDL=SDL3-3.2.22 +LZ4=1.10.0 +ZSTD=1.5.7 +PLUTOVG=1.3.1 +PLUTOSVG=0.0.7 + +SHADERC=2025.3 +SHADERC_GLSLANG=efd24d75bcbc55620e759f6bf42c45a32abac5f8 +SHADERC_SPIRVHEADERS=2a611a970fdbc41ac2e3e328802aed9985352dca +SHADERC_SPIRVTOOLS=33e02568181e3312f49a3cf33df470bf96ef293a + +mkdir -p deps-build +cd deps-build + +cat > SHASUMS < #include #include #include