Skip to content

Commit 8cacf30

Browse files
Update cmake-multi-platform.yml
1 parent 6a23a5a commit 8cacf30

1 file changed

Lines changed: 27 additions & 7 deletions

File tree

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

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,39 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest, windows-latest, macos-latest]
18+
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-latest, macos-latest]
1919
build_type: [Release]
2020
c_compiler: [gcc, clang, cl]
2121
include:
22-
# Windows
22+
# Windows MSVC
2323
- os: windows-latest
2424
c_compiler: cl
2525
cpp_compiler: cl
2626

27+
# Windows GCC (MinGW) — just for fun
28+
- os: windows-latest
29+
c_compiler: gcc
30+
cpp_compiler: g++
31+
2732
# Ubuntu GCC
28-
- os: ubuntu-latest
33+
- os: ubuntu-20.04
34+
c_compiler: gcc
35+
cpp_compiler: g++
36+
- os: ubuntu-22.04
37+
c_compiler: gcc
38+
cpp_compiler: g++
39+
- os: ubuntu-24.04
2940
c_compiler: gcc
3041
cpp_compiler: g++
3142

3243
# Ubuntu Clang
33-
- os: ubuntu-latest
44+
- os: ubuntu-20.04
45+
c_compiler: clang
46+
cpp_compiler: clang++
47+
- os: ubuntu-22.04
48+
c_compiler: clang
49+
cpp_compiler: clang++
50+
- os: ubuntu-24.04
3451
c_compiler: clang
3552
cpp_compiler: clang++
3653

@@ -40,17 +57,20 @@ jobs:
4057
cpp_compiler: clang++
4158

4259
exclude:
43-
- os: windows-latest
44-
c_compiler: gcc
4560
- os: windows-latest
4661
c_compiler: clang
47-
- os: ubuntu-latest
62+
- os: ubuntu-20.04
63+
c_compiler: cl
64+
- os: ubuntu-22.04
65+
c_compiler: cl
66+
- os: ubuntu-24.04
4867
c_compiler: cl
4968
- os: macos-latest
5069
c_compiler: gcc
5170
- os: macos-latest
5271
c_compiler: cl
5372

73+
5474
steps:
5575
- uses: actions/checkout@v4
5676

0 commit comments

Comments
 (0)