File tree Expand file tree Collapse file tree 2 files changed +55
-33
lines changed Expand file tree Collapse file tree 2 files changed +55
-33
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
tests :
10
- name : ${{ matrix.os }}- ${{ matrix.compiler }}- ${{ matrix.cppstd }}- ${{ matrix.version }}-python- ${{ matrix.python-version }}- ${{ matrix.castxml-epic }}
10
+ name : ${{ matrix.os }} ${{ matrix.compiler }} ${{ matrix.clang-version }} ${{ matrix.cppstd }} Python ${{ matrix.python-version }} Epic ${{ matrix.castxml-epic }}
11
11
runs-on : ${{ matrix.os }}
12
12
13
13
strategy :
@@ -16,124 +16,139 @@ jobs:
16
16
include :
17
17
# UBUNTU 22.04 - CASTXML EPIC 0
18
18
- os : ubuntu-22.04
19
- compiler : gcc
20
- version : " 11"
19
+ compiler : clang++
20
+ clang-version : 13
21
+ python-version : " 3.13"
22
+ castxml : " castxml"
23
+ castxml-epic : 0
24
+ cppstd : " -std=c++98"
25
+
26
+ - os : ubuntu-22.04
27
+ compiler : clang++
28
+ clang-version : 14
29
+ python-version : " 3.13"
30
+ castxml : " castxml"
31
+ castxml-epic : 0
32
+ cppstd : " -std=c++98"
33
+
34
+ - os : ubuntu-22.04
35
+ compiler : clang++
36
+ clang-version : 15
21
37
python-version : " 3.13"
22
38
castxml : " castxml"
23
39
castxml-epic : 0
24
40
cppstd : " -std=c++98"
25
41
26
42
- os : ubuntu-22.04
27
- compiler : gcc
28
- version : " 11 "
43
+ compiler : clang++
44
+ clang- version : 15
29
45
python-version : " 3.13"
30
46
castxml : " castxml"
31
47
castxml-epic : 1
32
48
cppstd : " -std=c++98"
33
49
34
50
# UBUNTU 24.04 - CASTXML EPIC 0
35
51
- os : ubuntu-24.04
36
- compiler : gcc
37
- version : " 13 "
52
+ compiler : clang++
53
+ clang- version : 16
38
54
python-version : " 3.9"
39
55
castxml : " castxml"
40
56
castxml-epic : 0
41
57
cppstd : " -std=c++98"
42
58
43
59
- os : ubuntu-24.04
44
- compiler : gcc
45
- version : " 13 "
60
+ compiler : clang++
61
+ clang- version : 16
46
62
python-version : " 3.10"
47
63
castxml : " castxml"
48
64
castxml-epic : 0
49
65
cppstd : " -std=c++98"
50
66
51
67
- os : ubuntu-24.04
52
- compiler : gcc
53
- version : " 13 "
68
+ compiler : clang++
69
+ clang- version : 16
54
70
python-version : " 3.11"
55
71
castxml : " castxml"
56
72
castxml-epic : 0
57
73
cppstd : " -std=c++98"
58
74
59
75
- os : ubuntu-24.04
60
- compiler : gcc
61
- version : " 13 "
76
+ compiler : clang++
77
+ clang- version : 16
62
78
python-version : " 3.12"
63
79
castxml : " castxml"
64
80
castxml-epic : 0
65
81
cppstd : " -std=c++98"
66
82
67
83
- os : ubuntu-24.04
68
- compiler : gcc
69
- version : " 13 "
84
+ compiler : clang++
85
+ clang- version : 16
70
86
python-version : " 3.13"
71
87
castxml : " castxml"
72
88
castxml-epic : 0
73
89
cppstd : " -std=c++98"
74
90
75
91
# UBUNTU 24.04 - CASTXML EPIC 0 - c++XX
76
92
- os : ubuntu-24.04
77
- compiler : gcc
78
- version : " 13 "
93
+ compiler : clang++
94
+ clang- version : 16
79
95
python-version : " 3.13"
80
96
castxml : " castxml"
81
97
castxml-epic : 0
82
98
cppstd : " -std=c++11"
83
99
84
100
- os : ubuntu-24.04
85
- compiler : gcc
86
- version : " 13 "
101
+ compiler : clang++
102
+ clang- version : 16
87
103
python-version : " 3.13"
88
104
castxml : " castxml"
89
105
castxml-epic : 0
90
106
cppstd : " -std=c++14"
91
107
92
108
- os : ubuntu-24.04
93
- compiler : gcc
94
- version : " 13 "
109
+ compiler : clang++
110
+ clang- version : 16
95
111
python-version : " 3.13"
96
112
castxml : " castxml"
97
113
castxml-epic : 0
98
114
cppstd : " -std=c++17"
99
115
100
116
- os : ubuntu-24.04
101
- compiler : gcc
102
- version : " 13 "
117
+ compiler : clang++
118
+ clang- version : 16
103
119
python-version : " 3.13"
104
120
castxml : " castxml"
105
121
castxml-epic : 0
106
122
cppstd : " -std=c++20"
107
123
108
124
- os : ubuntu-24.04
109
- compiler : gcc
110
- version : " 13 "
125
+ compiler : clang++
126
+ clang- version : 16
111
127
python-version : " 3.13"
112
128
castxml : " castxml"
113
129
castxml-epic : 0
114
130
cppstd : " -std=c++23"
115
131
116
132
# UBUNTU 24.04 - CASTXML EPIC 1
117
133
- os : ubuntu-24.04
118
- compiler : gcc
119
- version : " 13 "
134
+ compiler : clang++
135
+ clang- version : 16
120
136
python-version : " 3.13"
121
137
castxml : " castxml"
122
138
castxml-epic : 1
123
139
cppstd : " -std=c++98"
124
140
125
141
- os : ubuntu-24.04
126
- compiler : gcc
127
- version : " 13 "
142
+ compiler : clang++
143
+ clang- version : 16
128
144
python-version : " 3.13"
129
145
castxml : " castxml"
130
146
castxml-epic : 1
131
147
cppstd : " -std=c++11"
132
148
133
149
# MACOS
134
150
- os : macos-13
135
- compiler : xcode
136
- version : " default"
151
+ compiler : clang++
137
152
python-version : " 3.13"
138
153
castxml : " castxml"
139
154
castxml-epic : 0
@@ -157,8 +172,12 @@ jobs:
157
172
- name : Run pycodestyle
158
173
run : pycodestyle . --exclude=docs
159
174
160
- - name : Write ccflags to conf file
161
- run : echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
175
+ - name : Write xml_generator.cfg
176
+ if : contains(matrix.os, 'ubuntu')
177
+ run : |
178
+ echo "[xml_generator]" > tests/xml_generator.cfg
179
+ echo "compiler_path=/usr/bin/${{ matrix.compiler }}-${{ matrix.clang-version }}" >> tests/xml_generator.cfg
180
+ echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
162
181
163
182
- name : Setup castxml for Linux
164
183
if : contains(matrix.os, 'ubuntu') && matrix.castxml == 'castxml'
Original file line number Diff line number Diff line change 11
11
from pygccxml import parser
12
12
from pygccxml import utils
13
13
14
+ import logging
15
+ utils .loggers .set_level (logging .DEBUG )
16
+
14
17
15
18
TEST_FILES = [
16
19
"patcher.hpp" ,
You can’t perform that action at this time.
0 commit comments