From d63fb52a55b5d5560d05857aa5ff3d4e68962b75 Mon Sep 17 00:00:00 2001 From: lizhimins <707364882@qq.com> Date: Tue, 21 Jan 2025 20:11:31 +0800 Subject: [PATCH] fix cpp client test --- .github/workflows/cpp_build.yml | 2 +- cpp/.bazelrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml index 7973881a3..1d72593a1 100644 --- a/.github/workflows/cpp_build.yml +++ b/.github/workflows/cpp_build.yml @@ -11,7 +11,7 @@ jobs: # Disable VS 2022 before https://github.com/bazelbuild/bazel/issues/18592 issue is solved # Remove macos-11 since there is no such runner available # os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022] - os: [ubuntu-20.04, ubuntu-22.04, macos-12, windows-2019] + os: [ubuntu-20.04, ubuntu-22.04, macos-14, windows-2019] steps: - uses: actions/checkout@v2 - name: Compile On Linux diff --git a/cpp/.bazelrc b/cpp/.bazelrc index 38aff1d3a..9a4870de2 100644 --- a/cpp/.bazelrc +++ b/cpp/.bazelrc @@ -28,6 +28,7 @@ build:macos --strip=never build:macos --copt -g # Workaround, see https://github.com/grpc/grpc/issues/19645 build:macos --copt -DGRPC_BAZEL_BUILD +build:macos --copt -Wno-deprecated-builtins,-Wno-error=deprecated-builtins # Enable position independent code (this is the default on macOS and Windows) # (Workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/421)