From dce6483a839f589f452a08fe0fd358fcb1511922 Mon Sep 17 00:00:00 2001 From: Alan Kelly Date: Fri, 26 Apr 2024 00:41:10 -0700 Subject: [PATCH] Internal config change PiperOrigin-RevId: 628319086 --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e8f1524750..3ebecab0384 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -146,6 +146,20 @@ jobs: - name: Run tests run: ctest -C Release --output-on-failure --parallel $NUMBER_OF_PROCESSORS working-directory: ${{ github.workspace }}/build/windows/x86 + cmake-macos-arm64: + runs-on: macos-latest + timeout-minutes: 120 + steps: + - uses: actions/checkout@v4 + - name: Create output directory + run: mkdir -p build/macos/arm64 + working-directory: ${{ github.workspace }} + - name: Generate CMake project + run: cmake -G Xcode -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_OSX_ARCHITECTURES=arm64 -DHAVE_STD_REGEX=TRUE ../../.. + working-directory: ${{ github.workspace }}/build/macos/arm64 + - name: Build with Xcode + run: cmake --build build/macos/arm64 --parallel $(sysctl -n hw.ncpu) -- -quiet + working-directory: ${{ github.workspace }} cmake-android: strategy: matrix: