Deps: Hopefully work around path length limits

This commit is contained in:
Stenzek
2025-10-16 20:48:01 +10:00
parent 33a342751a
commit 7deb374cf9
6 changed files with 25 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ jobs:
linux-appimage-build:
name: "${{ matrix.name }}"
runs-on: ubuntu-22.04
timeout-minutes: 120
timeout-minutes: 240
strategy:
matrix:
include:

View File

@@ -16,7 +16,7 @@ jobs:
container:
image: ghcr.io/duckstation/cross-build-${{ matrix.arch }}:latest
timeout-minutes: 120
timeout-minutes: 240
steps:
- uses: actions/checkout@v5
with:

View File

@@ -8,7 +8,7 @@ jobs:
macos-build:
name: "Universal"
runs-on: macos-15
timeout-minutes: 120
timeout-minutes: 240
steps:
- uses: actions/checkout@v5
with:

View File

@@ -8,7 +8,7 @@ jobs:
windows-build:
name: "${{ matrix.name }}"
runs-on: windows-2022
timeout-minutes: 120
timeout-minutes: 240
strategy:
matrix:
include:

View File

@@ -244,16 +244,23 @@ ninja install || goto error
cd ..\.. || goto error
rmdir /S /Q "qtshadertools-everywhere-src-%QT%"
rem This mess with the junction is to work around path length limits in cmake/MSVC.
echo Building Qt Declarative...
rmdir /S /Q "qtdeclarative-everywhere-src-%QT%"
%SEVENZIP% x "qtdeclarative-everywhere-src-%QT%.zip" || goto error
cd "qtdeclarative-everywhere-src-%QT%" || goto error
set QTDECLARATIVEDIR=%CD%
mkdir build || goto error
cd build || goto error
call "%INSTALLDIR%\bin\qt-configure-module.bat" .. -- %FORCEPDB% -DCMAKE_PREFIX_PATH="%INSTALLDIR%" -DQT_GENERATE_SBOM=OFF || goto error
pushd ..\..\..\.. || goto error
mklink /J b "%QTDECLARATIVEDIR%\build" || goto error
cd b || goto error
call "%INSTALLDIR%\bin\qt-configure-module.bat" %QTDECLARATIVEDIR% -- %FORCEPDB% -DCMAKE_PREFIX_PATH="%INSTALLDIR%" -DQT_GENERATE_SBOM=OFF || goto error
cmake --build . --parallel || goto error
ninja install || goto error
cd ..\.. || goto error
cd .. || goto error
rmdir b || goto error
popd || goto error
cd .. || goto error
rmdir /S /Q "qtdeclarative-everywhere-src-%QT%"
echo Building Qt Tools...

View File

@@ -161,7 +161,7 @@ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="%INSTALLDIR%" -DCMAKE_INST
cmake --build build --parallel || goto error
ninja -C build install || goto error
cd .. || goto error
tar -xf "freetype-%FREETYPE%.tar.gz" || goto error
rmdir /S /Q "freetype-%FREETYPE%"
echo Building HarfBuzz...
rmdir /S /Q "harfbuzz-%HARFBUZZ%"
@@ -244,16 +244,23 @@ ninja install || goto error
cd ..\.. || goto error
rmdir /S /Q "qtshadertools-everywhere-src-%QT%"
rem This mess with the junction is to work around path length limits in cmake/MSVC.
echo Building Qt Declarative...
rmdir /S /Q "qtdeclarative-everywhere-src-%QT%"
%SEVENZIP% x "qtdeclarative-everywhere-src-%QT%.zip" || goto error
cd "qtdeclarative-everywhere-src-%QT%" || goto error
set QTDECLARATIVEDIR=%CD%
mkdir build || goto error
cd build || goto error
call "%INSTALLDIR%\bin\qt-configure-module.bat" .. -- %FORCEPDB% -DCMAKE_PREFIX_PATH="%INSTALLDIR%" -DQT_GENERATE_SBOM=OFF || goto error
pushd ..\..\..\.. || goto error
mklink /J b "%QTDECLARATIVEDIR%\build" || goto error
cd b || goto error
call "%INSTALLDIR%\bin\qt-configure-module.bat" %QTDECLARATIVEDIR% -- %FORCEPDB% -DCMAKE_PREFIX_PATH="%INSTALLDIR%" -DQT_GENERATE_SBOM=OFF || goto error
cmake --build . --parallel || goto error
ninja install || goto error
cd ..\.. || goto error
cd .. || goto error
rmdir b || goto error
popd || goto error
cd .. || goto error
rmdir /S /Q "qtdeclarative-everywhere-src-%QT%"
echo Building Qt Tools...