mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-28 15:50:17 +08:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user