Add check for self-contained headers to a CI job

It seems wasteful to check this in all of them, so choose one with the
relatively short running-time and do it only there.
This commit is contained in:
Vadim Zeitlin
2025-02-11 20:43:30 +01:00
parent aaf847dae5
commit b5b858637f
+6
View File
@@ -109,6 +109,7 @@ jobs:
runner: ubuntu-22.04
configure_flags: --enable-compat30 --disable-std_containers
use_xvfb: true
check_headers: true
- name: Ubuntu 22.04 wxGTK with ASAN
runner: ubuntu-22.04
configure_flags: --disable-compat32 --disable-sys-libs
@@ -332,6 +333,11 @@ jobs:
- name: Building tests
working-directory: tests
run: |
if [ ${{ matrix.check_headers }} ]; then
echo "Checking that all headers are self-contained..."
make allheaders_selfcontained
echo "Done."
fi
make $wxBUILD_ARGS failtest
make -k $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"