| # Build file to set up and run tests |
| cd $(dirname $0)/../../.. |
| # Get kokoro scripts from repo root by default. |
| source ${SCRIPT_ROOT}/kokoro/common/pyenv.sh |
| # Disabled for now, re-enable if appropriate. |
| # //:build_files_updated_unittest \ |
| -//objectivec/... # only works on macOS |
| @com_google_protobuf_examples//... |
| ${SCRIPT_ROOT}/kokoro/common/bazel_wrapper.sh "${bazel_args[@]}" |
| # Verify that we can build successfully from generated tar files. |
| pyenv shell 2.7.9 # python2 required for old googletest autotools support |
| git submodule update --init --recursive |
| ./autogen.sh && ./configure && make -j$(nproc) dist |
| ${SCRIPT_ROOT}/kokoro/common/bazel_wrapper.sh build //:protobuf //:protobuf_java |