Skip to content

Commit b4595bc

Browse files
committed
Disable optimization
1 parent b3567be commit b4595bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ jobs:
303303
shell: bash
304304
run: |
305305
set -x
306-
export BAZEL_OPTIMIZATION="--config=optimization --config=linux_ci --config=cache"
307-
if [[ "${{ env.EVENT_NAME }}" == "push" && "${{ env.REPO_NAME }}" == "tensorflow/io" ]]; then
308-
export BAZEL_OPTIMIZATION="${BAZEL_OPTIMIZATION} --remote_upload_local_results=true --google_credentials=service_account_creds.json"
309-
fi
306+
#export BAZEL_OPTIMIZATION="--config=optimization --config=linux_ci --config=cache"
307+
#if [[ "${{ env.EVENT_NAME }}" == "push" && "${{ env.REPO_NAME }}" == "tensorflow/io" ]]; then
308+
# export BAZEL_OPTIMIZATION="${BAZEL_OPTIMIZATION} --remote_upload_local_results=true --google_credentials=service_account_creds.json"
309+
#fi
310310
docker build -t io -f tools/docker/build.Dockerfile --build-arg PYTHON_VERSION=3.10 --build-arg TENSORFLOW_VERSION=2.14 --build-arg BAZEL_OPTIMIZATION="${BAZEL_OPTIMIZATION}" --progress=plain .
311311
docker create -it io --name io bash
312312
docker cp -L io:/opt/io/bazel-bin build

0 commit comments

Comments
 (0)