diff --git a/.github/workflows/protobuf.yml b/.github/workflows/protobuf.yml index c719a68ce..9e7822045 100644 --- a/.github/workflows/protobuf.yml +++ b/.github/workflows/protobuf.yml @@ -51,6 +51,11 @@ jobs: - name: Install proto2cpp run: git clone --depth 1 https://github.com/OpenSimulationInterface/proto2cpp.git + - 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: Prepare C++ Build run: mkdir build