Skip to content

Commit c60c72a

Browse files
authored
Merge pull request #746 from pmai/build/check-proto-build-setup
Add check that all proto files are included in build
2 parents e47e87c + 5e06e28 commit c60c72a

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
@@ -32,6 +32,11 @@ jobs:
3232
with:
3333
submodules: true
3434

35+
- name: Check Build Setup
36+
run: |
37+
( result=0 ; for f in *.proto ; do grep -wq "$f" CMakeLists.txt || { echo "Missing $f in CMakeLists.txt" && let "result++"; } ; done ; exit $result )
38+
( result=0 ; for f in *.proto ; do grep -q '"'$f'"' setup.py || { echo "Missing $f in setup.py" && let "result++"; } ; done ; exit $result )
39+
3540
- name: Setup Python
3641
uses: actions/setup-python@v5
3742
with:

0 commit comments

Comments
 (0)