mirror of https://github.com/grpc/grpc.git
commit
e89efbc1ac
106 changed files with 1884 additions and 955 deletions
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@ |
||||
# Copyright 2019 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine3.9 |
||||
|
||||
RUN apk update && apk add bash |
||||
RUN apk update && apk add unzip |
||||
|
||||
# Workaround for https://github.com/grpc/grpc/issues/18428 |
||||
# Also see https://github.com/sgerrand/alpine-pkg-glibc |
||||
RUN apk update && apk --no-cache add ca-certificates wget |
||||
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub |
||||
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk |
||||
RUN apk add glibc-2.30-r0.apk |
||||
|
||||
# installing mono on alpine is hard and we don't really need it |
||||
ENV SKIP_MONO_DISTRIBTEST=1 |
@ -0,0 +1,22 @@ |
||||
# Copyright 2019 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
# Config file for the internal CI (in protobuf text format) |
||||
|
||||
# Location of the continuous shell script in repository. |
||||
build_file: "grpc/tools/internal_ci/macos/grpc_run_bazel_c_cpp_tests.sh" |
||||
env_vars { |
||||
key: "RUN_TESTS_FLAGS" |
||||
value: "--config=dbg" |
||||
} |
@ -0,0 +1,22 @@ |
||||
# Copyright 2019 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
# Config file for the internal CI (in protobuf text format) |
||||
|
||||
# Location of the continuous shell script in repository. |
||||
build_file: "grpc/tools/internal_ci/macos/grpc_run_bazel_c_cpp_tests.sh" |
||||
env_vars { |
||||
key: "RUN_TESTS_FLAGS" |
||||
value: "--config=opt" |
||||
} |
@ -0,0 +1,30 @@ |
||||
#!/usr/bin/env bash |
||||
# Copyright 2019 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
set -ex |
||||
|
||||
# change to grpc repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
./tools/run_tests/start_port_server.py |
||||
|
||||
# run all C/C++ tests |
||||
# TODO(jtattermusch): try using Bazel RBE remote cache |
||||
# TODO(jtattermusch): upload bazel test results to resultstore |
||||
tools/bazel test $RUN_TESTS_FLAGS //test/... |
||||
|
||||
# kill port_server.py to prevent the build from hanging |
||||
ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9 |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue