From a6fde5868228d10367c21a4724a83d45cdb3eed4 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 3 Nov 2023 22:02:33 -0400 Subject: [PATCH] CI: Add a step to ensure the Qt chrome can compile on macOS The AppKit chrome is now the default, but the Qt chrome may still be enabled for testing. Let's ensure it can compile in CI, as it has already broken since the default change. --- Meta/Azure/Lagom.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml index 6d344b0232..5dd7929716 100644 --- a/Meta/Azure/Lagom.yml +++ b/Meta/Azure/Lagom.yml @@ -168,6 +168,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 -B Build -DENABLE_QT=ON + displayName: 'Enable the Ladybird Qt chrome' + workingDirectory: $(Build.SourcesDirectory)/Meta/Lagom + env: + CCACHE_DIR: '$(SERENITY_CCACHE_DIR)' + + - script: | + set -e + cmake --build . + displayName: 'Build Ladybird Qt chrome' + workingDirectory: $(Build.SourcesDirectory)/Meta/Lagom/Build + env: + CCACHE_DIR: '$(SERENITY_CCACHE_DIR)' + - ${{ if eq(parameters.lagom_lints, true) }}: - script: | set -e