fix AWS arm64 C++ build (#27981)

pull/28012/head
Jan Tattermusch 3 years ago committed by GitHub
parent 6003710534
commit 1654e512b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      tools/internal_ci/linux/aws/grpc_aws_experiment_remote.sh
  2. 5
      tools/internal_ci/linux/aws/grpc_bazel_test_c_cpp_aarch64.sh

@ -15,14 +15,15 @@
set -ex set -ex
#install ubuntu pre-requisites # install pre-requisites for gRPC C core build
sudo apt update sudo apt update
sudo apt install -y build-essential autoconf libtool pkg-config cmake python3 python3-pip clang sudo apt install -y build-essential autoconf libtool pkg-config cmake python3 python3-pip clang
sudo pip install six
python3 --version
cd grpc cd grpc
# without port server running, many tests will fail # tests require port server to be running
python3 tools/run_tests/start_port_server.py python3 tools/run_tests/start_port_server.py
# build with bazel # build with bazel

@ -18,16 +18,13 @@ set -ex
# install pre-requisites for gRPC C core build # install pre-requisites for gRPC C core build
sudo apt update sudo apt update
sudo apt install -y build-essential autoconf libtool pkg-config cmake python3 python3-pip clang sudo apt install -y build-essential autoconf libtool pkg-config cmake python3 python3-pip clang
sudo pip install six
# install python3.6 and pip
sudo apt install -y python3 python3-pip
python3 --version python3 --version
cd grpc cd grpc
# tests require port server to be running # tests require port server to be running
python tools/run_tests/start_port_server.py python3 tools/run_tests/start_port_server.py
# test gRPC C/C++ with bazel # test gRPC C/C++ with bazel
tools/bazel test --config=opt --test_output=errors --test_tag_filters=-no_linux,-no_arm64 --build_tag_filters=-no_linux,-no_arm64 --flaky_test_attempts=1 --runs_per_test=1 //test/... tools/bazel test --config=opt --test_output=errors --test_tag_filters=-no_linux,-no_arm64 --build_tag_filters=-no_linux,-no_arm64 --flaky_test_attempts=1 --runs_per_test=1 //test/...

Loading…
Cancel
Save