From 2a8f55891142ac7b824341c5a63bb73532b635f4 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 20 Aug 2023 17:21:16 -0400 Subject: [PATCH] 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. --- Meta/Azure/Lagom.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml index 3b65b487ac..d33de772b0 100644 --- a/Meta/Azure/Lagom.yml +++ b/Meta/Azure/Lagom.yml @@ -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