CI: Add a step to ensure the AppKit chrome can compile

The main build step builds the Qt chrome, because ENABLE_QT=ON is the
default. This adds a step to ensure we can build the AppKit chrome as
well.
This commit is contained in:
Timothy Flynn 2023-08-20 17:21:16 -04:00 committed by Tim Flynn
parent 5722d0025b
commit 2a8f558911
Notes: sideshowbarker 2024-07-17 06:09:44 +09:00

View file

@ -159,6 +159,23 @@ jobs:
SERENITY_SOURCE_DIR: '$(Build.SourcesDirectory)'
QT_QPA_PLATFORM: 'offscreen'
- ${{ if and(eq(parameters.fuzzer, 'NoFuzz'), eq(parameters.os, 'macOS') ) }}:
- script: |
set -e
cmake -DENABLE_QT=OFF -B Build
displayName: 'Enable the Ladybird AppKit chrome'
workingDirectory: $(Build.SourcesDirectory)/Meta/Lagom
env:
CCACHE_DIR: '$(SERENITY_CCACHE_DIR)'
- script: |
set -e
cmake --build .
displayName: 'Build Ladybird AppKit chrome'
workingDirectory: $(Build.SourcesDirectory)/Meta/Lagom/Build
env:
CCACHE_DIR: '$(SERENITY_CCACHE_DIR)'
- ${{ if eq(parameters.lagom_lints, true) }}:
- script: |
set -e