Skip to content

Commit

Permalink
Add check that all proto files are included in build
Browse files Browse the repository at this point in the history
  • Loading branch information
pmai committed Dec 4, 2023
1 parent b1b9c72 commit 62793ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
with:
submodules: true

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

0 comments on commit 62793ff

Please sign in to comment.