mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
CI: Build Gtk UI in Linux Sanitizer presets
Ensure that we run tests with the Qt UI still
This commit is contained in:
committed by
Andrew Kaster
parent
a942da16ce
commit
946f39df88
Notes:
github-actions[bot]
2026-04-24 02:08:46 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/946f39df886 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8990 Reviewed-by: https://github.com/cqundefine Reviewed-by: https://github.com/trflynn89 ✅
8
.github/workflows/lagom-template.yml
vendored
8
.github/workflows/lagom-template.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user