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.
14 lines
489 B
14 lines
489 B
#!/bin/bash |
|
|
|
set -e |
|
|
|
cd ${KOKORO_ARTIFACTS_DIR}/github/googleapis |
|
cp .kokoro/.bazelrc $HOME/.bazelrc |
|
CACHE_BUCKET=client-libraries-bazel-cache-github |
|
CACHE_CMDLINE="--remote_cache=https://storage.googleapis.com/${CACHE_BUCKET} --google_default_credentials" |
|
|
|
# |
|
# Run build and tests |
|
# |
|
${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} build ${CACHE_CMDLINE} --keep_going //... |
|
${BAZELISK_BIN} --output_user_root=${BAZEL_ROOT} test ${CACHE_CMDLINE} --flaky_test_attempts=3 --keep_going //...
|
|
|