Migrate "macos-next" Linux test to GHA
This no longer served its original purpose and was actually testing an *older* version of MacOS than the rest of our test suite. This did lock down CMake builds on Mac though, so we'll keep that coverage.
PiperOrigin-RevId: 506776948
diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml
index a776a24..ea93d40 100644
--- a/.github/workflows/test_cpp.yml
+++ b/.github/workflows/test_cpp.yml
@@ -118,6 +118,26 @@
bazel: test ${{ matrix.bazel }}
bazel-cache: cpp_${{ matrix.os }}
+ macos-cmake:
+ name: MacOS CMake
+ runs-on: macos-12
+ steps:
+ - name: Checkout pending changes
+ uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
+ with:
+ submodules: recursive
+ ref: ${{ inputs.safe-checkout }}
+
+ - name: Configure CMake
+ uses: ./.github/actions/bash
+ with:
+ credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
+ command: cmake . -DCMAKE_CXX_STANDARD=14
+ - name: Build
+ run: cmake --build . --parallel 8
+ - name: Test
+ run: ctest --verbose -C Debug
+
windows-cmake:
strategy:
fail-fast: false # Don't cancel all jobs if one fails.