File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,15 @@ jobs:
101101 echo "::error ::Please use C++11 equivalents of the deprecated macros in the new code."
102102 exit 1
103103 fi
104+
105+ check-allheaders :
106+ runs-on : ubuntu-20.04
107+ name : Check All Headers In allheaders.h
108+
109+ steps :
110+ - name : Checkout
111+ uses : actions/checkout@v4
112+
113+ - name : Check that all headers are listed in tests/allheaders.h
114+ run : |
115+ ./misc/scripts/check_allheaders.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ cd $( dirname " $0 " ) /../..
4+
5+ rc=0
6+
7+ for h in include/wx/* .h ; do
8+ header=wx/$( basename " $h " )
9+ if ! grep -q " $header " tests/allheaders.h ; then
10+ echo " ERROR - <$header > not present in tests/allheaders.h"
11+ rc=$(( rc+ 1 ))
12+ fi
13+ done
14+
15+ exit $rc
You can’t perform that action at this time.
0 commit comments