Skip to content

Commit 9463f43

Browse files
authored
Update cmake-multi-platform.yml
Add latest platforms. Drop support for macOS 12. Signed-off-by: Andy Zhang <[email protected]>
1 parent 905d6fb commit 9463f43

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
#
2626
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
2727
matrix:
28-
os: [ubuntu-latest, windows-2019, macos-12, macos-13, macos-14]
28+
os: [ubuntu-latest, windows-2019, macos-13, macos-14, macos-15]
2929
build_type: [Release]
3030
c_compiler: [clang, cl]
31-
python_version: ['3.10', '3.11', '3.12']
31+
python_version: ['3.11', '3.12', '3.13']
3232
include:
3333
- os: windows-2019
3434
c_compiler: cl
@@ -41,15 +41,15 @@ jobs:
4141
# - os: macos-latest
4242
# c_compiler: gcc
4343
# cpp_compiler: g++
44-
- os: macos-12
44+
- os: macos-13
4545
c_compiler: clang
4646
cpp_compiler: clang++
4747
cmake_extra_options: '-GNinja'
48-
- os: macos-13
48+
- os: macos-14
4949
c_compiler: clang
5050
cpp_compiler: clang++
5151
cmake_extra_options: '-GNinja'
52-
- os: macos-14
52+
- os: macos-15
5353
c_compiler: clang
5454
cpp_compiler: clang++
5555
cmake_extra_options: '-GNinja'
@@ -58,12 +58,12 @@ jobs:
5858
c_compiler: clang
5959
- os: ubuntu-latest
6060
c_compiler: cl
61-
- os: macos-12
62-
c_compiler: cl
6361
- os: macos-13
6462
c_compiler: cl
6563
- os: macos-14
6664
c_compiler: cl
65+
- os: macos-15
66+
c_compiler: cl
6767
steps:
6868
- uses: actions/checkout@v4
6969

@@ -79,12 +79,12 @@ jobs:
7979
echo "CMAKE_OPTIONS=${{ matrix.cmake_extra_options }}" >> "$GITHUB_ENV"
8080
8181
- name: Set up Homebrew
82-
if: ${{ matrix.os == 'macos-12' || matrix.os == 'macos-13' || matrix.os == 'macos-14' || matrix.os == 'ubuntu-latest'}}
82+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' || matrix.os == 'macos-15' || matrix.os == 'ubuntu-latest'}}
8383
id: set-up-homebrew
8484
uses: Homebrew/actions/setup-homebrew@master
8585

8686
- name: Install LLVM
87-
if: ${{ matrix.os == 'macos-12' || matrix.os == 'macos-13' || matrix.os == 'macos-14' || matrix.os == 'ubuntu-latest' }}
87+
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' || matrix.os == 'macos-15' || matrix.os == 'ubuntu-latest' }}
8888
run: |
8989
brew install llvm ninja
9090
echo "PATH=$(brew --prefix llvm)/bin:$PATH" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)