Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
451 B

#!/bin/bash
MY_DIR="$(dirname "$0")"
TEST_SCRIPT=$MY_DIR/tests.sh
BUILD_DIR=/tmp/protobuf
# Set value used in tests.sh.
PARALLELISM=-j8
set -x # display all commands
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR
cd $BUILD_DIR
git clone /var/local/jenkins/protobuf
cd protobuf
# If protoc fails to build, we can't test anything else.
$TEST_SCRIPT cpp || exit 1
# Other tests can fail and we keep on going.
#$TEST_SCRIPT java_jdk6
$TEST_SCRIPT java_jdk7