diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml index 7973881a..1d72593a 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 38aff1d3..9a4870de 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)