[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

@@ -11,5 +11,5 @@ cmake . -DCMAKE_BUILD_TYPE=$config \
cmake --build . --target flatc --clean-first -- -j$JOBS
echo "Check generated code"
.travis/check-generate-code.sh
scripts/check-generate-code.sh
echo "Done"

View File

@@ -15,6 +15,6 @@ cmake --build . --target all --clean-first -- -j$JOBS
ctest --extra-verbose --output-on-failure -j$JOBS
echo "Check generated code"
.travis/check-generate-code.sh
scripts/check-generate-code.sh
echo "C++ tests done"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright 2015 Google Inc. All rights reserved.
# Copyright 2021 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.