@@ -383,7 +383,67 @@ jobs:
383
383
with :
384
384
name : shadps4-linux-qt-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}
385
385
path : Shadps4-qt.AppImage
386
-
386
+ linux-sdl-gcc :
387
+ runs-on : ubuntu-24.04
388
+ needs : get-info
389
+ steps :
390
+ - uses : actions/checkout@v4
391
+ with :
392
+ submodules : recursive
393
+ - name : Install dependencies
394
+ run : sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libdecor-0-dev libxkbcommon-dev libglfw3-dev libgles2-mesa-dev libfuse2 gcc-14 build-essential libasound2-dev libpulse-dev libopenal-dev libudev-dev
395
+ - name : Cache CMake Configuration
396
+ uses : actions/cache@v4
397
+ env :
398
+ cache-name : ${{ runner.os }}-sdl-cache-cmake-configuration
399
+ with :
400
+ path : |
401
+ ${{github.workspace}}/build
402
+ key : ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
403
+ restore-keys : |
404
+ ${{ env.cache-name }}-
405
+ - name : Cache CMake Build
406
+ uses :
hendrikmuhs/[email protected]
407
+ env :
408
+ cache-name : ${{ runner.os }}-sdl-cache-cmake-build
409
+ with :
410
+ append-timestamp : false
411
+ key : ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
412
+ - name : Configure CMake
413
+ run : cmake --fresh -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE=ON -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
414
+ - name : Build
415
+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc)
416
+ linux-qt-gcc :
417
+ runs-on : ubuntu-24.04
418
+ needs : get-info
419
+ steps :
420
+ - uses : actions/checkout@v4
421
+ with :
422
+ submodules : recursive
423
+ - name : Install dependencies
424
+ run : sudo apt-get update && sudo apt install -y libx11-dev libxext-dev libwayland-dev libdecor-0-dev libxkbcommon-dev libglfw3-dev libgles2-mesa-dev libfuse2 gcc-14 build-essential qt6-base-dev qt6-tools-dev qt6-multimedia-dev libasound2-dev libpulse-dev libopenal-dev libudev-dev
425
+ - name : Cache CMake Configuration
426
+ uses : actions/cache@v4
427
+ env :
428
+ cache-name : ${{ runner.os }}-qt-cache-cmake-configuration
429
+ with :
430
+ path : |
431
+ ${{github.workspace}}/build
432
+ key : ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
433
+ restore-keys : |
434
+ ${{ env.cache-name }}-
435
+ - name : Cache CMake Build
436
+ uses :
hendrikmuhs/[email protected]
437
+ env :
438
+ cache-name : ${{ runner.os }}-qt-cache-cmake-build
439
+ with :
440
+ append-timestamp : false
441
+ key : ${{ env.cache-name }}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }}
442
+ - name : Configure CMake
443
+ run : cmake --fresh -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE=ON -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 -DENABLE_QT_GUI=ON -DENABLE_UPDATER=ON -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
444
+ - name : Build
445
+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc)
446
+
387
447
linux-flatpak :
388
448
runs-on : ubuntu-24.04
389
449
needs : get-info
@@ -407,7 +467,7 @@ jobs:
407
467
408
468
pre-release :
409
469
if : github.ref == 'refs/heads/mainBB' && github.event_name == 'push'
410
- needs : [get-info, windows-sdl, windows-qt, macos-sdl, macos-qt, linux-sdl, linux-qt]
470
+ needs : [get-info, windows-sdl, windows-qt, macos-sdl, macos-qt, linux-sdl, linux-qt, linux-qt-gcc, linux-sdl-gcc ]
411
471
runs-on : ubuntu-latest
412
472
steps :
413
473
- name : Download all artifacts
0 commit comments