mirror of https://github.com/grpc/grpc-java.git
buildscripts: add missing CI coverage for examples (#7708)
Adds CI coverage for building example/android/strictmode and examples/example-jwt-auth. Also cleans up existing Gradle and Maven build command in the CIs.
This commit is contained in:
parent
f13471d68d
commit
71a3c55177
|
@ -61,6 +61,8 @@ cd ../routeguide
|
|||
../../gradlew build
|
||||
cd ../helloworld
|
||||
../../gradlew build
|
||||
cd ../strictmode
|
||||
../../gradlew build
|
||||
|
||||
# Skip APK size and dex count comparisons for non-PR builds
|
||||
|
||||
|
|
|
@ -62,14 +62,19 @@ if [[ -z "${SKIP_TESTS:-}" ]]; then
|
|||
./gradlew clean $GRADLE_FLAGS
|
||||
./gradlew build $GRADLE_FLAGS
|
||||
# --batch-mode reduces log spam
|
||||
mvn clean verify --batch-mode
|
||||
mvn verify --batch-mode
|
||||
popd
|
||||
pushd examples/example-hostname
|
||||
../gradlew build $GRADLE_FLAGS
|
||||
mvn verify --batch-mode
|
||||
popd
|
||||
pushd examples/example-tls
|
||||
mvn clean verify --batch-mode
|
||||
../gradlew build $GRADLE_FLAGS
|
||||
mvn verify --batch-mode
|
||||
popd
|
||||
pushd examples/example-jwt-auth
|
||||
../gradlew build $GRADLE_FLAGS
|
||||
mvn verify --batch-mode
|
||||
popd
|
||||
pushd examples/example-xds
|
||||
../gradlew build $GRADLE_FLAGS
|
||||
|
|
Loading…
Reference in New Issue