File tree Expand file tree Collapse file tree 5 files changed +33
-12
lines changed
Expand file tree Collapse file tree 5 files changed +33
-12
lines changed Original file line number Diff line number Diff line change 11---
22platforms :
3- centos7 :
3+ rockylinux8 :
4+ build_targets :
5+ - " //src:bazel"
6+ - " //src:bazel_nojdk"
7+ build_flags :
8+ - " -c"
9+ - " opt"
10+ rockylinux8_arm64 :
411 build_targets :
512 - " //src:bazel"
613 - " //src:bazel_nojdk"
Original file line number Diff line number Diff line change 11---
22
33tasks :
4- centos7 :
4+ rockylinux8 :
55 shell_commands :
66 - rm -rf $HOME/bazeltest
77 - mkdir $HOME/bazeltest
1919 - " //src/tools/execlog/..."
2020 test_flags :
2121 - " --config=ci-linux"
22- # Override REMOTE_NETWORK_ADDRESS since bazel_sandboxing_networking_test doesn't work on this platform
23- - " --test_env=REMOTE_NETWORK_ADDRESS="
2422 test_targets :
2523 - " //scripts/..."
2624 - " //src/java_tools/..."
3533 - " //tools/compliance/..."
3634 - " //tools/python/..."
3735 - " //tools/bash/..."
38- # These tests are not compatible with the gcov version of CentOS 7 .
36+ # These tests are not compatible with the gcov version of Rocky Linux 8 .
3937 - " -//src/test/shell/bazel:bazel_cc_code_coverage_test"
4038 - " -//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
4139 - " -//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
Original file line number Diff line number Diff line change 11---
22
33tasks :
4- centos7 :
4+ rockylinux8 :
55 shards : 4
66 shell_commands :
77 - rm -rf $HOME/bazeltest
2020 - " //src/tools/execlog/..."
2121 test_flags :
2222 - " --config=ci-linux"
23- # Override REMOTE_NETWORK_ADDRESS since bazel_sandboxing_networking_test doesn't work on this platform
24- - " --test_env=REMOTE_NETWORK_ADDRESS="
2523 test_targets :
2624 - " //scripts/..."
2725 - " //src/java_tools/..."
3634 - " //tools/compliance/..."
3735 - " //tools/python/..."
3836 - " //tools/bash/..."
39- # These tests are not compatible with the gcov version of CentOS 7 .
37+ # These tests are not compatible with the gcov version of Rocky Linux 8 .
4038 - " -//src/test/shell/bazel:bazel_cc_code_coverage_test"
4139 - " -//src/test/shell/bazel:bazel_coverage_cc_released_test_gcc"
4240 - " -//src/test/shell/bazel:bazel_coverage_cc_head_test_gcc"
@@ -46,6 +44,24 @@ tasks:
4644 include_json_profile :
4745 - build
4846 - test
47+ rockylinux8_arm64 :
48+ shell_commands :
49+ - rm -rf $HOME/bazeltest
50+ - mkdir $HOME/bazeltest
51+ build_flags :
52+ - " --config=ci-linux"
53+ build_targets :
54+ - " //:bazel-distfile.zip"
55+ - " //scripts/packages/debian:bazel-debian.deb"
56+ - " //scripts/packages:with-jdk/install.sh"
57+ - " //src:bazel"
58+ - " //src:bazel_jdk_minimal"
59+ - " //src:test_repos"
60+ - " //src/main/java/..."
61+ - " //src/tools/diskcache/..."
62+ - " //src/tools/execlog/..."
63+ include_json_profile :
64+ - build
4965 fedora39 :
5066 shell_commands :
5167 - rm -rf $HOME/bazeltest
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ function test_native_python_with_zip() {
135135 || fail " //examples/py_native:bin execution failed"
136136 expect_log " Fib(5) == 8"
137137 # Using python <zipfile> to run the python package
138- python ./bazel-bin/examples/py_native/bin >& $TEST_log \
138+ python3 ./bazel-bin/examples/py_native/bin >& $TEST_log \
139139 || fail " //examples/py_native:bin execution failed"
140140 expect_log " Fib(5) == 8"
141141 assert_test_ok //examples/py_native:test --build_python_zip
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function setup_network_tests() {
5555 local socket_dir
5656 socket_dir=" $( mktemp -d /tmp/test.XXXXXX) " || fail " mktemp failed"
5757 local socket=" ${socket_dir} /socket"
58- python $python_server --unix_socket=" ${socket} " always file_to_serve &
58+ python3 $python_server --unix_socket=" ${socket} " always file_to_serve &
5959 local pid=" ${! } "
6060
6161 trap " kill_nc || true; kill '${pid} ' || true; rm -f '${socket} '; rmdir '${socket_dir} '" EXIT
@@ -79,7 +79,7 @@ genrule(
7979genrule(
8080 name = "loopback",
8181 outs = [ "loopback.txt" ],
82- cmd = "python $python_server always $( pwd) /file_to_serve >port.txt & "
82+ cmd = "python3 $python_server always $( pwd) /file_to_serve >port.txt & "
8383 + "pid=\$\$ !; "
8484 + "while ! grep started port.txt; do sleep 1; done; "
8585 + "port=\$\$ (head -n 1 port.txt); "
You can’t perform that action at this time.
0 commit comments