Skip to content

Commit 807ac1a

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/protobuf.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
with:
1818
submodules: true
1919

20+
- name: Check Build Setup
21+
run: |
22+
( result=0 ; for f in *.proto ; do grep -wq "$f" CMakeLists.txt || { echo "Missing $f in CMakeLists.txt" && let "result++"; } ; done ; exit $result )
23+
( result=0 ; for f in *.proto ; do grep -q "'$f'" setup.py || { echo "Missing $f in setup.py" && let "result++"; } ; done ; exit $result )
24+
2025
- name: Setup Python
2126
uses: actions/setup-python@v2
2227
with:

0 commit comments

Comments
 (0)