Skip to content

Commit b447ef9

Browse files
committed
Add check that all proto files are included in build
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent ec82b7c commit b447ef9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/protobuf.yml

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
with:
2323
submodules: true
2424

25+
- name: Check Build Setup
26+
run: |
27+
( result=0 ; for f in *.proto ; do grep -wq "$f" CMakeLists.txt || { echo "Missing $f in CMakeLists.txt" && let "result++"; } ; done ; exit $result )
28+
( result=0 ; for f in *.proto ; do grep -q '"'$f'"' setup.py || { echo "Missing $f in setup.py" && let "result++"; } ; done ; exit $result )
29+
2530
- name: Setup Python
2631
uses: actions/setup-python@v5
2732
with:

0 commit comments

Comments
 (0)