7
7
8
8
jobs :
9
9
tests :
10
- name : ${{ matrix.os }}- ${{ matrix.compiler }}- ${{ 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,87 +16,116 @@ 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-epic : 0
23
+ cppstd : " -std=c++98"
24
+
25
+ - os : ubuntu-22.04
26
+ compiler : clang++
27
+ clang-version : 14
28
+ python-version : " 3.13"
29
+ castxml-epic : 0
30
+ cppstd : " -std=c++98"
31
+
32
+ - os : ubuntu-22.04
33
+ compiler : clang++
34
+ clang-version : 15
21
35
python-version : " 3.13"
22
- castxml : " castxml"
23
36
castxml-epic : 0
24
37
cppstd : " -std=c++98"
25
38
26
39
- os : ubuntu-22.04
27
- compiler : gcc
28
- version : " 11 "
40
+ compiler : clang++
41
+ clang- version : 15
29
42
python-version : " 3.13"
30
- castxml : " castxml"
31
43
castxml-epic : 1
32
44
cppstd : " -std=c++98"
33
45
34
46
# UBUNTU 24.04 - CASTXML EPIC 0
35
47
- os : ubuntu-24.04
36
- compiler : gcc
37
- version : " 13 "
48
+ compiler : clang++
49
+ clang- version : 16
38
50
python-version : " 3.9"
39
- castxml : " castxml"
40
51
castxml-epic : 0
41
52
cppstd : " -std=c++98"
42
53
43
54
- os : ubuntu-24.04
44
- compiler : gcc
45
- version : " 13 "
55
+ compiler : clang++
56
+ clang- version : 16
46
57
python-version : " 3.10"
47
- castxml : " castxml"
48
58
castxml-epic : 0
49
59
cppstd : " -std=c++98"
50
60
51
61
- os : ubuntu-24.04
52
- compiler : gcc
53
- version : " 13 "
62
+ compiler : clang++
63
+ clang- version : 16
54
64
python-version : " 3.11"
55
- castxml : " castxml"
56
65
castxml-epic : 0
57
66
cppstd : " -std=c++98"
58
67
59
68
- os : ubuntu-24.04
60
- compiler : gcc
61
- version : " 13 "
69
+ compiler : clang++
70
+ clang- version : 16
62
71
python-version : " 3.12"
63
- castxml : " castxml"
64
72
castxml-epic : 0
65
73
cppstd : " -std=c++98"
66
74
67
75
- os : ubuntu-24.04
68
- compiler : gcc
69
- version : " 13 "
76
+ compiler : clang++
77
+ clang- version : 16
70
78
python-version : " 3.13"
71
- castxml : " castxml"
72
79
castxml-epic : 0
73
80
cppstd : " -std=c++98"
74
81
82
+ # UBUNTU 24.04 - CASTXML EPIC 0 - c++XX
83
+ - os : ubuntu-24.04
84
+ compiler : clang++
85
+ clang-version : 16
86
+ python-version : " 3.13"
87
+ castxml-epic : 0
88
+ cppstd : " -std=c++11"
89
+
90
+ - os : ubuntu-24.04
91
+ compiler : clang++
92
+ clang-version : 16
93
+ python-version : " 3.13"
94
+ castxml-epic : 0
95
+ cppstd : " -std=c++14"
96
+
97
+ - os : ubuntu-24.04
98
+ compiler : clang++
99
+ clang-version : 16
100
+ python-version : " 3.13"
101
+ castxml-epic : 0
102
+ cppstd : " -std=c++17"
103
+
75
104
# UBUNTU 24.04 - CASTXML EPIC 1
76
105
- os : ubuntu-24.04
77
- compiler : gcc
78
- version : " 13 "
106
+ compiler : clang++
107
+ clang- version : 16
79
108
python-version : " 3.13"
80
- castxml : " castxml"
81
109
castxml-epic : 1
82
110
cppstd : " -std=c++98"
83
111
84
112
- os : ubuntu-24.04
85
- compiler : gcc
86
- version : " 13 "
113
+ compiler : clang++
114
+ clang- version : 16
87
115
python-version : " 3.13"
88
- castxml : " castxml"
89
116
castxml-epic : 1
90
117
cppstd : " -std=c++11"
91
118
92
119
# MACOS
93
120
- os : macos-13
94
- compiler : xcode
95
- version : " default"
121
+ compiler : clang++
122
+ python-version : " 3.13"
123
+ castxml-epic : 0
124
+
125
+ - os : macos-14
126
+ compiler : clang++
96
127
python-version : " 3.13"
97
- castxml : " castxml"
98
128
castxml-epic : 0
99
- cppstd : " -std=c++98"
100
129
101
130
steps :
102
131
- uses : actions/checkout@v4
@@ -116,12 +145,19 @@ jobs:
116
145
- name : Run pycodestyle
117
146
run : pycodestyle . --exclude=docs
118
147
148
+ - name : Write xml_generator.cfg
149
+ if : contains(matrix.os, 'ubuntu')
150
+ run : |
151
+ echo "[xml_generator]" > tests/xml_generator.cfg
152
+ echo "compiler_path=/usr/bin/${{ matrix.compiler }}-${{ matrix.clang-version }}" >> tests/xml_generator.cfg
153
+ echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
154
+
119
155
- name : Setup castxml for Linux
120
- if : contains(matrix.os, 'ubuntu') && matrix.castxml == 'castxml'
156
+ if : contains(matrix.os, 'ubuntu')
121
157
run : |
122
158
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/bdbb67a10c5f8d1b738cd19cb074f409d4803e8077cb8c1072ef4eaf738fa871a73643f9c8282d58cae28d188df842c82ad6620b6d590b0396a0172a27438dce/download | tar zxf - -C ~/
123
159
- name : Setup castxml for Mac
124
- if : matrix.os == 'macos-13'
160
+ if : contains( matrix.os, 'macos')
125
161
run : |
126
162
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/5d937e938f7b882a3a3e7941e68f8312d0898aaf2082e00003dd362b1ba70b98b0a08706a1be28e71652a6a0f1e66f89768b5eaa20e5a100592d5b3deefec3f0/download | tar zxf - -C ~/
127
163
- name : Run tests
0 commit comments