@@ -16,98 +16,98 @@ jobs:
16
16
fail-fast : false
17
17
matrix :
18
18
compiler :
19
- - { tool: gcc , ver: 7 }
20
- - { tool: gcc , ver: 8 }
21
- - { tool: gcc , ver: 9 }
22
- - { tool: gcc , ver: 10 }
23
- - { tool: gcc , ver: 11 }
24
- - { tool: gcc , ver: 12 }
25
- - { tool: gcc , ver: 13 }
26
- - { tool: gcc , ver: 14 }
27
- - { tool: clang , ver: 7 }
28
- - { tool: clang , ver: 8 }
29
- - { tool: clang , ver: 9 }
30
- - { tool: clang , ver: 10 }
31
- - { tool: clang , ver: 11 }
32
- - { tool: clang , ver: 12 }
33
- - { tool: clang , ver: 13 }
34
- - { tool: clang , ver: 14 }
35
- - { tool: clang , ver: 15 }
36
- - { tool: clang , ver: 16 }
37
- - { tool: clang , ver: 17 }
38
- - { tool: clang , ver: 18 }
19
+ - { name: GCC , ver: 7 }
20
+ - { name: GCC , ver: 8 }
21
+ - { name: GCC , ver: 9 }
22
+ - { name: GCC , ver: 10 }
23
+ - { name: GCC , ver: 11 }
24
+ - { name: GCC , ver: 12 }
25
+ - { name: GCC , ver: 13 }
26
+ - { name: GCC , ver: 14 }
27
+ - { name: Clang , ver: 7 }
28
+ - { name: Clang , ver: 8 }
29
+ - { name: Clang , ver: 9 }
30
+ - { name: Clang , ver: 10 }
31
+ - { name: Clang , ver: 11 }
32
+ - { name: Clang , ver: 12 }
33
+ - { name: Clang , ver: 13 }
34
+ - { name: Clang , ver: 14 }
35
+ - { name: Clang , ver: 15 }
36
+ - { name: Clang , ver: 16 }
37
+ - { name: Clang , ver: 17 }
38
+ - { name: Clang , ver: 18 }
39
39
build_type : [ Release ]
40
40
os : [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
41
41
std : [ 17, 20, 23 ]
42
42
library_type : [ Static ]
43
43
include :
44
- - compiler : { tool: gcc }
44
+ - compiler : { name: GCC }
45
45
cxx : g++
46
46
cc : gcc
47
+ packages : ' gcc-{0} g++-{0}'
47
48
generator : Ninja
48
- - compiler : { tool: clang }
49
+ - compiler : { name: Clang }
49
50
cxx : clang++
50
51
cc : clang
52
+ packages : ' clang-{0}'
51
53
generator : Ninja
52
54
exclude :
53
- - { os: ubuntu-20.04, compiler: { tool: gcc , ver: 11 } }
54
- - { os: ubuntu-20.04, compiler: { tool: gcc , ver: 12 } }
55
- - { os: ubuntu-20.04, compiler: { tool: gcc , ver: 13 } }
56
- - { os: ubuntu-20.04, compiler: { tool: gcc , ver: 14 } }
57
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 13 } }
58
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 14 } }
59
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 15 } }
60
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 16 } }
61
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 17 } }
62
- - { os: ubuntu-20.04, compiler: { tool: clang , ver: 18 } }
63
- - { os: ubuntu-22.04, compiler: { tool: gcc , ver: 7 } }
64
- - { os: ubuntu-22.04, compiler: { tool: gcc , ver: 8 } }
65
- - { os: ubuntu-22.04, compiler: { tool: gcc , ver: 13 } }
66
- - { os: ubuntu-22.04, compiler: { tool: gcc , ver: 14 } }
67
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 7 } }
68
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 8 } }
69
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 9 } }
70
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 10 } }
71
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 16 } }
72
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 17 } }
73
- - { os: ubuntu-22.04, compiler: { tool: clang , ver: 18 } }
74
- - { os: ubuntu-24.04, compiler: { tool: gcc , ver: 7 } }
75
- - { os: ubuntu-24.04, compiler: { tool: gcc , ver: 8 } }
76
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 7 } }
77
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 8 } }
78
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 9 } }
79
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 10 } }
80
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 11 } }
81
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 12 } }
82
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 13 } }
83
- - { compiler: { tool: gcc , ver: 7 }, std: 20 }
84
- - { compiler: { tool: gcc , ver: 7 }, std: 23 }
85
- - { compiler: { tool: gcc , ver: 8 }, std: 23 }
86
- - { compiler: { tool: gcc , ver: 9 }, std: 23 }
87
- - { compiler: { tool: gcc , ver: 10 }, std: 23 }
88
- - { compiler: { tool: clang , ver: 7 }, std: 20 }
89
- - { compiler: { tool: clang , ver: 7 }, std: 23 }
90
- - { compiler: { tool: clang , ver: 8 }, std: 20 }
91
- - { compiler: { tool: clang , ver: 8 }, std: 23 }
92
- - { compiler: { tool: clang , ver: 9 }, std: 23 }
93
- - { compiler: { tool: clang , ver: 10 }, std: 23 }
94
- - { compiler: { tool: clang , ver: 11 }, std: 23 }
95
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 14 }, std: 20 } # gtest broken for now
96
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 14 }, std: 23 } # gtest broken for now
97
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 15 }, std: 20 } # gtest broken for now
98
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 15 }, std: 23 } # gtest broken for now
99
- - { os: ubuntu-24.04, compiler: { tool: clang , ver: 17 }, std: 23 } # gtest broken for now
55
+ - { os: ubuntu-20.04, compiler: { name: GCC , ver: 11 } }
56
+ - { os: ubuntu-20.04, compiler: { name: GCC , ver: 12 } }
57
+ - { os: ubuntu-20.04, compiler: { name: GCC , ver: 13 } }
58
+ - { os: ubuntu-20.04, compiler: { name: GCC , ver: 14 } }
59
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 13 } }
60
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 14 } }
61
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 15 } }
62
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 16 } }
63
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 17 } }
64
+ - { os: ubuntu-20.04, compiler: { name: Clang , ver: 18 } }
65
+ - { os: ubuntu-22.04, compiler: { name: GCC , ver: 7 } }
66
+ - { os: ubuntu-22.04, compiler: { name: GCC , ver: 8 } }
67
+ - { os: ubuntu-22.04, compiler: { name: GCC , ver: 13 } }
68
+ - { os: ubuntu-22.04, compiler: { name: GCC , ver: 14 } }
69
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 7 } }
70
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 8 } }
71
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 9 } }
72
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 10 } }
73
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 16 } }
74
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 17 } }
75
+ - { os: ubuntu-22.04, compiler: { name: Clang , ver: 18 } }
76
+ - { os: ubuntu-24.04, compiler: { name: GCC , ver: 7 } }
77
+ - { os: ubuntu-24.04, compiler: { name: GCC , ver: 8 } }
78
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 7 } }
79
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 8 } }
80
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 9 } }
81
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 10 } }
82
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 11 } }
83
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 12 } }
84
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 13 } }
85
+ - { compiler: { name: GCC , ver: 7 }, std: 20 }
86
+ - { compiler: { name: GCC , ver: 7 }, std: 23 }
87
+ - { compiler: { name: GCC , ver: 8 }, std: 23 }
88
+ - { compiler: { name: GCC , ver: 9 }, std: 23 }
89
+ - { compiler: { name: GCC , ver: 10 }, std: 23 }
90
+ - { compiler: { name: Clang , ver: 7 }, std: 20 }
91
+ - { compiler: { name: Clang , ver: 7 }, std: 23 }
92
+ - { compiler: { name: Clang , ver: 8 }, std: 20 }
93
+ - { compiler: { name: Clang , ver: 8 }, std: 23 }
94
+ - { compiler: { name: Clang , ver: 9 }, std: 23 }
95
+ - { compiler: { name: Clang , ver: 10 }, std: 23 }
96
+ - { compiler: { name: Clang , ver: 11 }, std: 23 }
97
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 14 }, std: 20 } # gtest broken for now
98
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 14 }, std: 23 } # gtest broken for now
99
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 15 }, std: 20 } # gtest broken for now
100
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 15 }, std: 23 } # gtest broken for now
101
+ - { os: ubuntu-24.04, compiler: { name: Clang , ver: 17 }, std: 23 } # gtest broken for now
100
102
101
103
runs-on : ${{matrix.os}}
102
104
steps :
103
105
- uses : actions/checkout@v4
104
106
105
107
- name : Create Build Environment
106
- env :
107
- PACKAGES : ${{ matrix.compiler.tool == 'gcc' && format('gcc-{0} g++-{0}', matrix.compiler.ver) || format('{0}-{1}', matrix.compiler.tool, matrix.compiler.ver) }}
108
108
run : |
109
109
sudo apt update
110
- sudo apt install ${{env.PACKAGES }} ninja-build -y
110
+ sudo apt install ${{format(matrix.packages, matrix.compiler.ver) }} ninja-build -y
111
111
sudo apt install locales-all
112
112
cmake -E make_directory ${{runner.workspace}}/build
113
113
0 commit comments