[CI] Adds Code Generation tests on Github Actions (#6482)

Moves check-grpc-generation to scripts
This commit is contained in:
mustiikhalil
2021-02-23 08:51:39 +03:00
committed by GitHub
parent 1da6f4f18b
commit ffc2ef77ca
8 changed files with 79 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ matrix:
-DFLATBUFFERS_CODE_SANITIZE=ON
- cmake --build . --target all --clean-first -- -j${JOBS}
- LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/google/grpc/install/lib ctest --extra-verbose --output-on-failure
- bash .travis/check-generate-code.sh
- bash scripts/check-generate-code.sh
- language: cpp
os: osx
@@ -134,7 +134,7 @@ matrix:
-DFLATBUFFERS_CODE_SANITIZE=ON
- cmake --build . -- -j${JOBS}
- DYLD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/google/grpc/install/lib ctest --extra-verbose --output-on-failure
- bash .travis/check-generate-code.sh
- bash scripts/check-generate-code.sh
- <<: *conan-linux-master
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8