Build examples in CI workflow
diff --git a/.github/workflows/binary_packages.yml b/.github/workflows/binary_packages.yml
index 4781f12..501e85a 100644
--- a/.github/workflows/binary_packages.yml
+++ b/.github/workflows/binary_packages.yml
@@ -38,9 +38,15 @@
tar xzf nanopb/dist/*.tar.gz
cd nanopb-*/tests
python3 -m SCons
- cd ../examples/simple
- make
- ./simple
+
+ - name: Test examples
+ run: |
+ cd nanopb-*/examples
+ (cd simple; make; ./simple)
+ (cd network_server; make)
+ (cd using_union_messages; make)
+ (cd cmake_simple; mkdir build; cd build; cmake ..; make)
+ (cd cmake_relpath; mkdir build; cd build; cmake ..; make)
build_windows:
name: Build binary on Windows 2019