From 946f39df886ce7393420a0f7a4b3b5a2ad392e10 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Thu, 23 Apr 2026 06:32:56 -0600 Subject: [PATCH] CI: Build Gtk UI in Linux Sanitizer presets Ensure that we run tests with the Qt UI still --- .github/workflows/lagom-template.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.yml index d14fff55849..28788808387 100644 --- a/.github/workflows/lagom-template.yml +++ b/.github/workflows/lagom-template.yml @@ -87,6 +87,10 @@ jobs: echo "host_cxx=$(xcrun --find clang++)" >> "$GITHUB_OUTPUT" fi + if ${{ inputs.os_name == 'Linux' && inputs.build_preset == 'Sanitizer' }} ; then + CMAKE_OPTIONS="$CMAKE_OPTIONS -DLADYBIRD_GUI_FRAMEWORK=Gtk" + fi + if ${{ inputs.clang_plugins }} ; then echo "ccache_key=${{ inputs.build_preset }}-CLANG_PLUGINS" >> "$GITHUB_OUTPUT" CMAKE_OPTIONS="$CMAKE_OPTIONS -DENABLE_CLANG_PLUGINS=ON" @@ -168,8 +172,8 @@ jobs: cmake --build . cmake --install . --strip --prefix ${{ github.workspace }}/Install - - name: Build - macOS with Qt - if: ${{ inputs.os_name == 'macOS' && inputs.build_preset == 'Sanitizer' }} + - name: Build with Qt + if: ${{ (inputs.os_name == 'macOS' || inputs.os_name == 'Linux') && inputs.build_preset == 'Sanitizer' }} working-directory: ${{ github.workspace }} run: | cmake --preset ${{ inputs.build_preset }} -B Build -DLADYBIRD_GUI_FRAMEWORK=Qt