diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c32fc73e..dd62fa001 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,10 +87,12 @@ jobs: - name: Build protobuf if: steps.cache-protobuf.outputs.cache-hit != 'true' working-directory: protobuf + # https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version run: | mkdir cmake_build cd cmake_build cmake \ + -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_BUILD_TYPE=Release \ -Dprotobuf_BUILD_TESTS=OFF \ -Dprotobuf_INSTALL=OFF \ diff --git a/.github/workflows/regular_conformance.yml b/.github/workflows/regular_conformance.yml index 804dd2f45..3f7f878e2 100644 --- a/.github/workflows/regular_conformance.yml +++ b/.github/workflows/regular_conformance.yml @@ -83,10 +83,12 @@ jobs: - name: Build protobuf if: steps.cache-protobuf.outputs.cache-hit != 'true' working-directory: protobuf + # https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version run: | mkdir cmake_build cd cmake_build cmake \ + -DCMAKE_CXX_STANDARD=17 \ -DCMAKE_BUILD_TYPE=Release \ -Dprotobuf_BUILD_TESTS=OFF \ -Dprotobuf_INSTALL=OFF \