Meta: Enable header checking in CI

This commit is contained in:
Ben Wiederhake 2021-10-10 21:30:14 +02:00 committed by Linus Groh
parent 8de696bdd0
commit ae9b52e387
Notes: sideshowbarker 2024-07-18 02:09:07 +09:00

View file

@ -152,6 +152,7 @@ jobs:
# We build and run the Lagom tests in a separate job, and sanitizer builds take a good while longer than non-sanitized. # We build and run the Lagom tests in a separate job, and sanitizer builds take a good while longer than non-sanitized.
run: | run: |
cmake -S Meta/CMake/Superbuild -B Build/superbuild -GNinja \ cmake -S Meta/CMake/Superbuild -B Build/superbuild -GNinja \
-DENABLE_COMPILETIME_HEADER_CHECK=ON \
-DSERENITY_ARCH=${{ matrix.arch }} \ -DSERENITY_ARCH=${{ matrix.arch }} \
-DSERENITY_TOOLCHAIN=GNU \ -DSERENITY_TOOLCHAIN=GNU \
-DCMAKE_C_COMPILER=gcc-10 \ -DCMAKE_C_COMPILER=gcc-10 \