Skip to content

Commit 7744431

Browse files
committed
Github action: Use newer OS versions for builds
1 parent 04cabd2 commit 7744431

File tree

1 file changed

+48
-20
lines changed

1 file changed

+48
-20
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
name: [Ubuntu-18, Ubuntu-20, Ubuntu-22, Debian-9, Debian-10, Debian-11, Debian-Testing, Debian-Experimental, Fedora-35, Fedora-36]
12+
name: [Ubuntu-18, Ubuntu-20, Ubuntu-22, Debian-10, Debian-11, Debian-12, Debian-Testing, Debian-Experimental, Fedora-35, Fedora-36, Fedora-37, Fedora-38]
1313
build_type: [Dev]
1414
cpp_compiler: [g++]
1515
cpp_version: [c++11]
@@ -23,65 +23,83 @@ jobs:
2323
image: "ubuntu:20.04"
2424
ubuntu: 20
2525
- name: Ubuntu-22
26-
# Uses gcc 11.2.0, clang 14.0.0, cmake 3.22.1
26+
# Uses gcc 12.2.0, clang 15.0.7, cmake 3.24.2
2727
image: "ubuntu:22.04"
2828
ubuntu: 22
29-
- name: Debian-9
30-
# Uses gcc 6.3.0, clang 3.8.1, cmake 3.7.2
31-
image: "debian:stretch"
29+
CXXFLAGS: -Wno-stringop-overread
3230
- name: Debian-10
3331
# Uses gcc 8.3.0, clang 7.0.1, cmake 3.13.4
3432
image: "debian:buster"
3533
- name: Debian-11
3634
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
3735
image: "debian:bullseye"
3836
- name: Debian-11
39-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
4037
image: "debian:bullseye"
4138
cpp_version: c++17
4239
- name: Debian-11
43-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
4440
image: "debian:bullseye"
4541
cpp_version: c++20
4642
- name: Debian-11
47-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
43+
image: "debian:bullseye"
44+
c_compiler: clang
45+
cpp_compiler: clang++
46+
- name: Debian-11
4847
image: "debian:bullseye"
4948
c_compiler: clang
5049
cpp_compiler: clang++
5150
cpp_version: c++17
5251
- name: Debian-11
53-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
5452
image: "debian:bullseye"
5553
c_compiler: clang
5654
cpp_compiler: clang++
5755
cpp_version: c++20
5856
- name: Debian-11
59-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
6057
image: "debian:bullseye"
6158
build_type: RelWithDebInfo
62-
- name: Debian-11
63-
# Uses gcc 10.2.1, clang 11.0.1, cmake 3.18.4
64-
image: "debian:bullseye"
59+
- name: Debian-12
60+
# Uses gcc 12.2.0, clang 15.0.6, cmake 3.25.1
61+
image: "debian:bookworm"
62+
CXXFLAGS: -Wno-stringop-overread
63+
- name: Debian-12
64+
image: "debian:bookworm"
65+
cpp_version: c++17
66+
CXXFLAGS: -Wno-stringop-overread
67+
- name: Debian-12
68+
image: "debian:bookworm"
69+
cpp_version: c++20
70+
CXXFLAGS: -Wno-stringop-overread
71+
- name: Debian-12
72+
image: "debian:bookworm"
73+
c_compiler: clang
74+
cpp_compiler: clang++
75+
- name: Debian-12
76+
image: "debian:bookworm"
77+
c_compiler: clang
78+
cpp_compiler: clang++
79+
cpp_version: c++17
80+
- name: Debian-12
81+
image: "debian:bookworm"
6582
c_compiler: clang
6683
cpp_compiler: clang++
84+
cpp_version: c++20
85+
- name: Debian-12
86+
image: "debian:bookworm"
87+
build_type: RelWithDebInfo
88+
CXXFLAGS: -Wno-stringop-overread
6789
- name: Debian-Testing
68-
# Uses gcc 10.3.0, clang 11.1.0, cmake 3.21.3
6990
image: "debian:testing"
7091
CXXFLAGS: -Wno-stringop-overread
7192
- name: Debian-Testing
72-
# Uses gcc 10.3.0, clang 11.1.0, cmake 3.21.3
7393
image: "debian:testing"
7494
c_compiler: clang
7595
cpp_compiler: clang++
7696
- name: Debian-Experimental
77-
# Uses gcc 11, clang 14, cmake 3.21.3
7897
image: "debian:experimental"
7998
CXXFLAGS: -Wno-stringop-overread
8099
- name: Debian-Experimental
81-
# Uses gcc 11, clang 14, cmake 3.21.3
82100
image: "debian:experimental"
83-
c_compiler: clang-14
84-
cpp_compiler: clang++-14
101+
c_compiler: clang
102+
cpp_compiler: clang++
85103
- name: Fedora-35
86104
# Uses gcc 11.2.1, clang 12.0.1, cmake 3.20.5
87105
image: "fedora:35"
@@ -90,6 +108,14 @@ jobs:
90108
# Uses gcc 12.2.0, clang 14.0.5, cmake 3.24.2
91109
image: "fedora:36"
92110
CXXFLAGS: -Wno-stringop-overread
111+
- name: Fedora-37
112+
# Uses gcc 12.3.1, clang 15.0.7, cmake 3.26.4
113+
image: "fedora:37"
114+
CXXFLAGS: -Wno-stringop-overread
115+
- name: Fedora-38
116+
# Uses gcc 13.0.1, clang 16.0.5, cmake 3.26.4
117+
image: "fedora:38"
118+
CXXFLAGS: -Wno-stringop-overread
93119
container:
94120
image: ${{ matrix.image }}
95121
env:
@@ -174,9 +200,11 @@ jobs:
174200
matrix:
175201
os:
176202
- "macos-11"
203+
- "macos-12"
204+
- "macos-13"
177205
build_type: [Dev]
178206
include:
179-
- os: "macos-11"
207+
- os: "macos-12"
180208
build_type: Release
181209
runs-on: ${{ matrix.os }}
182210
env:

0 commit comments

Comments
 (0)