File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11name : Run Bazel CPU tests (RBE)
22
33on :
4- # pull_request:
5- # branches:
6- # - main
4+ pull_request :
5+ branches :
6+ - main
77 workflow_dispatch :
88 inputs :
99 halt-for-connection :
2424 shell : bash
2525 strategy :
2626 matrix :
27- runner : ["windows-x86-n2-64", "linux-x86-n2-16", "linux-arm64-t2a-16"]
27+ runner : ["windows-x86-n2-64"] # , "linux-x86-n2-16", "linux-arm64-t2a-16"]
2828
2929 runs-on : ${{ matrix.runner }}
3030 container : ${{ (contains(matrix.runner, 'linux-x86') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/build:670606426-python3.12') ||
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ source "ci/utilities/setup_build_environment.sh"
3636os=$( uname -s | awk ' {print tolower($0)}' )
3737arch=$( uname -m)
3838
39+ # Adjust the values when running on Windows x86 to match the config in
40+ # .bazelrc
41+ if [[ $os =~ " msys_nt" ]] && [[ $arch == " x86_64" ]]; then
42+ os=" windows"
43+ arch=" amd64"
44+ fi
45+
3946# When running on Mac or Linux Aarch64, we only build the test targets and
4047# not run them. These platforms do not have native RBE support so we
4148# RBE cross-compile them on remote Linux x86 machines. As the tests still
You can’t perform that action at this time.
0 commit comments