From 27865ec92c6cec09c899dfc8e9b402db4bee75cd Mon Sep 17 00:00:00 2001 From: flagarde Date: Fri, 6 Dec 2024 06:36:48 +0800 Subject: [PATCH] Update macOS.yml --- .github/workflows/macOS.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml index 648b7ad6..e6865167 100644 --- a/.github/workflows/macOS.yml +++ b/.github/workflows/macOS.yml @@ -17,13 +17,13 @@ concurrency: cancel-in-progress: true jobs: - macos-12: - runs-on: macos-12 - name: macos-12 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) + macos-13: + name: macos-13 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) + runs-on: macos-13 strategy: fail-fast: false matrix: - xcode: [ '13.1', '13.2.1', '13.3.1', '13.4.1' ] + xcode: [ '14.1', '14.2', '14.3.1', '15.0.1', '15.1', '15.2' ] standard: [ 11, 14, 17, 20 ] env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer @@ -53,13 +53,13 @@ jobs: - name: 🎉 Install run: cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }} - macos-13: - name: macos-13 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) - runs-on: macos-13 + macos-14: + name: macos-14 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) + runs-on: macos-14 strategy: fail-fast: false matrix: - xcode: [ '14.1', '14.2', '14.3.1', '15.0.1', '15.1', '15.2' ] + xcode: [ '15.0.1', '15.1', '15.2', '15.3', '15.4', '16.0', '16.1' ] standard: [ 11, 14, 17, 20 ] env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer @@ -89,13 +89,13 @@ jobs: - name: 🎉 Install run: cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }} - macos-14: - name: macos-14 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) - runs-on: macos-14 + macos-15: + runs-on: macos-15 + name: macos-15 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }}) strategy: fail-fast: false matrix: - xcode: [ '15.0.1', '15.1', '15.2', '15.3', '15.4', '16.0', '16.1' ] + xcode: [ '15.4', '16.0', '16.1', '16.2' ] standard: [ 11, 14, 17, 20 ] env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer @@ -124,6 +124,7 @@ jobs: run: ctest --test-dir ${{ env.CMAKE_BINARY_PREFIX }} -C ${{ env.CMAKE_BUILD_TYPE }} --output-on-failure - name: 🎉 Install run: cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }} + gcc: runs-on: macos-14 name: macos-14 gcc-${{ matrix.version }} (c++${{ matrix.standard }})