diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index ed90e97833fd6..ecc15ac93b481 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -348,16 +348,19 @@ jobs: -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_BUILD_EXAMPLES=ON vsversion: '2019' - # TODO(b/285566773) Re-enable this test. - # This is broken due to a github runner update. - # See https://github.com/actions/runner-images/issues/7662 for more details - #- name: Windows CMake 2022 - # os: windows-2022 - # flags: >- - # -G Ninja -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF - # -Dprotobuf_BUILD_SHARED_LIBS=OFF - # -Dprotobuf_BUILD_EXAMPLES=ON - # vsversion: '2022' + - name: Windows CMake 2022 + os: windows-2022 + flags: >- + -G Ninja -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF + -Dprotobuf_BUILD_SHARED_LIBS=OFF + -Dprotobuf_BUILD_EXAMPLES=ON + vsversion: '2022' + - name: Windows CMake 32-bit + os: windows-2019 + flags: >- + -G Ninja -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF + vsversion: '2019' + windows-arch: 'win32' - name: Windows CMake Shared os: windows-2019 flags: >- @@ -386,6 +389,7 @@ jobs: with: cache-prefix: ${{ matrix.name }} vsversion: ${{ matrix.vsversion }} + windows-arch: ${{ matrix.windows-arch || 'win64' }} # Install phase. - name: Configure CMake for install