Bladeren bron

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.
Timothy Flynn 1 jaar geleden
bovenliggende
commit
2a8f558911
1 gewijzigde bestanden met toevoegingen van 17 en 0 verwijderingen
  1. 17 0
      Meta/Azure/Lagom.yml

+ 17 - 0
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