Skip to content
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ jobs:
bazel_test:
name: Bazel
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -586,6 +588,8 @@ jobs:
bazel_no_bzlmod_test:
name: Bazel without bzlmod
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -608,6 +612,8 @@ jobs:
bazel_test_async:
name: Bazel with async export
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -630,6 +636,8 @@ jobs:
bazel_valgrind:
name: Bazel valgrind
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -652,6 +660,8 @@ jobs:
bazel_noexcept:
name: Bazel noexcept
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -674,6 +684,8 @@ jobs:
bazel_nortti:
name: Bazel nortti
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -696,6 +708,8 @@ jobs:
bazel_asan:
name: Bazel asan config
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -718,6 +732,8 @@ jobs:
bazel_tsan:
name: Bazel tsan config
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -740,6 +756,8 @@ jobs:
bazel_osx:
name: Bazel on MacOS
runs-on: macos-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -757,6 +775,8 @@ jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -856,6 +876,8 @@ jobs:
windows_bazel:
name: Bazel Windows
runs-on: windows-2019
env:
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/iwyu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
-DWITH_OTLP_HTTP=ON \
-DWITH_OTLP_FILE=ON \
-DWITH_OPENTRACING=ON \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DWITH_OTLP_HTTP_COMPRESSION=ON \
-DWITH_THREAD_INSTRUMENTATION=ON \
-DWITH_ZIPKIN=ON \
Expand Down
1 change: 1 addition & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ elif [[ "$1" == "cmake.opentracing_shim.test" ]]; then
cmake "${CMAKE_OPTIONS[@]}" \
-DCMAKE_CXX_FLAGS="-Werror -Wno-error=redundant-move $CXXFLAGS" \
-DWITH_OPENTRACING=ON \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
"${SRC_DIR}"
make -j $(nproc)
make test
Expand Down
1 change: 1 addition & 0 deletions ci/install_abseil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ git clone --depth=1 -b ${ABSEIL_CPP_VERSION} https://github.com/abseil/abseil-cp
cd abseil-cpp
ABSEIL_CPP_BUILD_OPTIONS=(
"-DBUILD_TESTING=OFF"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
"-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR"
)
Expand Down
2 changes: 2 additions & 0 deletions ci/setup_grpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if [[ $build_internal_abseil_cpp -ne 0 ]]; then
-DCMAKE_CXX_STANDARD=${std_version}
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_CXX_EXTENSIONS=OFF
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR
)
Expand All @@ -124,6 +125,7 @@ GRPC_BUILD_OPTIONS=(
-DCMAKE_CXX_STANDARD=${std_version}
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_CXX_EXTENSIONS=OFF
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
-DgRPC_BUILD_TESTS=OFF
-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON
-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF
Expand Down
Loading