Skip to content

Commit f34fe29

Browse files
authored
remove old compilers
1 parent 8f3aa8a commit f34fe29

File tree

1 file changed

+5
-93
lines changed

1 file changed

+5
-93
lines changed

.github/workflows/linux-simple.yml

Lines changed: 5 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -4,108 +4,20 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
8-
runs-on: ubuntu-22.04
7+
name: ${{matrix.compiler}}, C++${{matrix.std}}, ${{matrix.build_type}}
8+
runs-on: ubuntu-latest
99
strategy:
1010
fail-fast: false
1111
matrix:
1212
compiler:
13-
- g++-5
14-
- g++-6
15-
- g++-7
16-
- g++-8
17-
- g++-9
18-
- g++-10
19-
- clang++-6.0
20-
- clang++-7
21-
- clang++-8
22-
- clang++-9
23-
- clang++-10
13+
- g++-13
14+
- clang-18
2415
build_type: [Debug, Release]
25-
std: [11]
26-
include:
27-
- cxx: g++-5
28-
other_pkgs: g++-5
29-
- cxx: g++-6
30-
other_pkgs: g++-6
31-
- cxx: g++-7
32-
other_pkgs: g++-7
33-
- cxx: g++-8
34-
other_pkgs: g++-8
35-
- cxx: g++-9
36-
other_pkgs: g++-9
37-
- cxx: g++-10
38-
other_pkgs: g++-10
39-
- cxx: clang++-6.0
40-
other_pkgs: clang-6.0
41-
- cxx: clang++-7
42-
other_pkgs: clang-7
43-
- cxx: clang++-8
44-
other_pkgs: clang-8
45-
- cxx: clang++-9
46-
other_pkgs: clang-9
47-
- cxx: clang++-10
48-
other_pkgs: clang-10
49-
50-
- cxx: clang++-10
51-
other_pkgs: clang-10
52-
std: 14
53-
build_type: Debug
54-
- cxx: clang++-10
55-
other_pkgs: clang-10
56-
std: 17
57-
build_type: Debug
58-
- cxx: clang++-10
59-
other_pkgs: clang-10
60-
std: 20
61-
build_type: Debug
62-
- cxx: g++-10
63-
other_pkgs: g++-10
64-
std: 14
65-
build_type: Debug
66-
- cxx: g++-10
67-
other_pkgs: g++-10
68-
std: 17
69-
build_type: Debug
70-
- cxx: g++-10
71-
other_pkgs: g++-10
72-
std: 20
73-
build_type: Debug
74-
75-
- cxx: clang++-10
76-
other_pkgs: clang-10
77-
std: 14
78-
build_type: Release
79-
- cxx: clang++-10
80-
other_pkgs: clang-10
81-
std: 17
82-
build_type: Release
83-
- cxx: clang++-10
84-
other_pkgs: clang-10
85-
std: 20
86-
build_type: Release
87-
- cxx: g++-10
88-
other_pkgs: g++-10
89-
std: 14
90-
build_type: Release
91-
- cxx: g++-10
92-
other_pkgs: g++-10
93-
std: 17
94-
build_type: Release
95-
- cxx: g++-10
96-
other_pkgs: g++-10
97-
std: 20
98-
build_type: Release
16+
std: [11, 14, 17, 20]
9917

10018
steps:
10119
- uses: actions/checkout@v4
10220

103-
- name: Add repositories for older GCC
104-
run: |
105-
sudo apt-add-repository 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic main'
106-
sudo apt-add-repository 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic universe'
107-
if: ${{ matrix.cxx == 'g++-5' || matrix.cxx == 'g++-6' }}
108-
10921
- name: Prepare environment
11022
run: |
11123
sudo apt-get update

0 commit comments

Comments
 (0)