CI: Allow user to override deps build path

This commit is contained in:
Stenzek 2024-01-14 13:19:16 +10:00 committed by Connor McLaughlin
parent 9d978c67ec
commit 3d13c5d13c
2 changed files with 7 additions and 2 deletions

View File

@ -120,7 +120,7 @@ jobs:
- name: Build Dependencies - name: Build Dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' if: steps.cache-deps.outputs.cache-hit != 'true'
run: .github/workflows/scripts/linux/build-dependencies-qt.sh run: .github/workflows/scripts/linux/build-dependencies-qt.sh "$HOME/deps"
- name: Download patches - name: Download patches
run: | run: |

View File

@ -2,7 +2,12 @@
set -e set -e
INSTALLDIR="$HOME/deps" if [ "$#" -ne 1 ]; then
echo "Syntax: $0 <output directory>"
exit 1
fi
INSTALLDIR="$1"
NPROCS="$(getconf _NPROCESSORS_ONLN)" NPROCS="$(getconf _NPROCESSORS_ONLN)"
SDL=SDL2-2.28.5 SDL=SDL2-2.28.5
QT=6.6.1 QT=6.6.1