@@ -11,13 +11,13 @@ concurrency:
1111 cancel-in-progress : true
1212
1313jobs :
14- macos-11 :
15- name : macos-11 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }})
16- runs-on : macos-11
14+ macos-12 :
15+ runs-on : macos-12
16+ name : macos-12 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }})
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- xcode : [ '11.7 ', '12.4 ', '12.5 .1', '13.0 ' ]
20+ xcode : [ '13.1 ', '13.2.1 ', '13.3 .1', '13.4.1 ' ]
2121 standard : [ 11, 14, 17, 20 ]
2222 env :
2323 DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
@@ -46,14 +46,14 @@ jobs:
4646 run : ctest --test-dir ${{ env.CMAKE_BINARY_PREFIX }} -C ${{ env.CMAKE_BUILD_TYPE }} --output-on-failure
4747 - name : 🎉 Install
4848 run : cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }}
49-
50- macos-12 :
51- runs-on : macos-12
52- name : macos-12 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }})
49+
50+ macos-13 :
51+ name : macos-13 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }})
52+ runs-on : macos-13
5353 strategy :
5454 fail-fast : false
5555 matrix :
56- xcode : [ '13 .1', '13.2.1 ', '13 .3.1', '13.4.1 ' ]
56+ xcode : [ '14 .1', '14.2 ', '14 .3.1', '15.0.1', '15.1', '15.2 ' ]
5757 standard : [ 11, 14, 17, 20 ]
5858 env :
5959 DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
@@ -83,13 +83,48 @@ jobs:
8383 - name : 🎉 Install
8484 run : cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }}
8585
86+ macos-14 :
87+ name : macos-14 xcode-${{ matrix.xcode }} (c++${{ matrix.standard }})
88+ runs-on : macos-14
89+ strategy :
90+ fail-fast : false
91+ matrix :
92+ xcode : [ '14.3.1', '15.0.1', '15.1', '15.2', '15.3', '15.4', '16.0' ]
93+ standard : [ 11, 14, 17, 20 ]
94+ env :
95+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
96+
97+ steps :
98+ - uses : ammaraskar/gcc-problem-matcher@master
99+ - name : 📥 Checkout
100+ uses : actions/checkout@v4
101+ with :
102+ fetch-depth : 0
103+ - name : ⬇️ Setup CMake
104+ uses : lukka/get-cmake@latest
105+ with :
106+ cmakeVersion : ^3
107+ ninjaVersion : ^1.11.1
108+ - name : 📂 Load .env file
109+ if : hashFiles('.github/workflows/.env') != ''
110+ uses : xom9ikk/dotenv@v2
111+ with :
112+ path : .github/workflows
113+ - name : 🔧 Configure
114+ run : cmake -S ${{ env.CMAKE_SOURCE_PREFIX }} -B ${{ env.CMAKE_BINARY_PREFIX }} -D CMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -D CMAKE_CXX_STANDARD=${{ matrix.standard }} -D CMAKE_INSTALL_PREFIX=${{ env.CMAKE_INSTALL_PREFIX }} -D CPPTERMINAL_ENABLE_DOCS=OFF
115+ - name : ⚙️ Build
116+ run : cmake --build ${{ env.CMAKE_BINARY_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel ${{ env.CMAKE_NUMBER_JOBS }}
117+ - name : 🧪 Test
118+ run : ctest --test-dir ${{ env.CMAKE_BINARY_PREFIX }} -C ${{ env.CMAKE_BUILD_TYPE }} --output-on-failure
119+ - name : 🎉 Install
120+ run : cmake --install ${{ env.CMAKE_BINARY_PREFIX }} --prefix ${{ env.CMAKE_INSTALL_PREFIX }} --config ${{ env.CMAKE_BUILD_TYPE }}
86121 gcc :
87- runs-on : macos-11
88- name : macos-11 gcc-${{ matrix.version }} (c++${{ matrix.standard }})
122+ runs-on : macos-14
123+ name : macos-14 gcc-${{ matrix.version }} (c++${{ matrix.standard }})
89124 strategy :
90125 fail-fast : false
91126 matrix :
92- version : [ 10, 11, 12 ]
127+ version : [ 11, 12, 13, 14 ]
93128 standard : [ 11, 14, 17, 20 ]
94129
95130 steps :
0 commit comments