@@ -16,27 +16,31 @@ jobs:
1616 include :
1717 # UBUNTU 22.04 - CASTXML EPIC 0
1818 - os : ubuntu-22.04
19+ arch : x86_64
1920 compiler : clang++
2021 clang-version : 13
2122 python-version : " 3.13"
2223 castxml-epic : 0
2324 cppstd : " -std=c++98"
2425
2526 - os : ubuntu-22.04
27+ arch : x86_64
2628 compiler : clang++
2729 clang-version : 14
2830 python-version : " 3.13"
2931 castxml-epic : 0
3032 cppstd : " -std=c++98"
3133
3234 - os : ubuntu-22.04
35+ arch : x86_64
3336 compiler : clang++
3437 clang-version : 15
3538 python-version : " 3.13"
3639 castxml-epic : 0
3740 cppstd : " -std=c++98"
3841
3942 - os : ubuntu-22.04
43+ arch : x86_64
4044 compiler : clang++
4145 clang-version : 15
4246 python-version : " 3.13"
@@ -45,34 +49,39 @@ jobs:
4549
4650 # UBUNTU 24.04 - CASTXML EPIC 0
4751 - os : ubuntu-24.04
52+ arch : x86_64
4853 compiler : clang++
4954 clang-version : 16
5055 python-version : " 3.9"
5156 castxml-epic : 0
5257 cppstd : " -std=c++98"
5358
5459 - os : ubuntu-24.04
60+ arch : x86_64
5561 compiler : clang++
5662 clang-version : 16
5763 python-version : " 3.10"
5864 castxml-epic : 0
5965 cppstd : " -std=c++98"
6066
6167 - os : ubuntu-24.04
68+ arch : x86_64
6269 compiler : clang++
6370 clang-version : 16
6471 python-version : " 3.11"
6572 castxml-epic : 0
6673 cppstd : " -std=c++98"
6774
6875 - os : ubuntu-24.04
76+ arch : x86_64
6977 compiler : clang++
7078 clang-version : 16
7179 python-version : " 3.12"
7280 castxml-epic : 0
7381 cppstd : " -std=c++98"
7482
7583 - os : ubuntu-24.04
84+ arch : x86_64
7685 compiler : clang++
7786 clang-version : 16
7887 python-version : " 3.13"
@@ -81,20 +90,23 @@ jobs:
8190
8291 # UBUNTU 24.04 - CASTXML EPIC 0 - c++XX
8392 - os : ubuntu-24.04
93+ arch : x86_64
8494 compiler : clang++
8595 clang-version : 16
8696 python-version : " 3.13"
8797 castxml-epic : 0
8898 cppstd : " -std=c++11"
8999
90100 - os : ubuntu-24.04
101+ arch : x86_64
91102 compiler : clang++
92103 clang-version : 16
93104 python-version : " 3.13"
94105 castxml-epic : 0
95106 cppstd : " -std=c++14"
96107
97108 - os : ubuntu-24.04
109+ arch : x86_64
98110 compiler : clang++
99111 clang-version : 16
100112 python-version : " 3.13"
@@ -103,13 +115,15 @@ jobs:
103115
104116 # UBUNTU 24.04 - CASTXML EPIC 1
105117 - os : ubuntu-24.04
118+ arch : x86_64
106119 compiler : clang++
107120 clang-version : 16
108121 python-version : " 3.13"
109122 castxml-epic : 1
110123 cppstd : " -std=c++98"
111124
112125 - os : ubuntu-24.04
126+ arch : x86_64
113127 compiler : clang++
114128 clang-version : 16
115129 python-version : " 3.13"
@@ -152,14 +166,27 @@ jobs:
152166 echo "compiler_path=/usr/bin/${{ matrix.compiler }}-${{ matrix.clang-version }}" >> tests/xml_generator.cfg
153167 echo "ccflags=${{ matrix.cppstd }}" >> tests/xml_generator.cfg
154168
155- - name : Setup castxml for Linux
156- if : contains(matrix.os, 'ubuntu')
169+ # ─── Setup CastXML for Linux x86_64 ──────────────────────────────
170+ - name : Setup CastXML for Linux x86_64 (Ubuntu 24.04)
171+ if : matrix.os == 'ubuntu-24.04' && matrix.arch == 'x86_64'
172+ run : |
173+ wget -q -O ~/castxml-ubuntu-24.04-x86_64.tar.gz https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11.post1/castxml-ubuntu-24.04-x86_64.tar.gz
174+ tar -xzf ~/castxml-ubuntu-24.04-x86_64.tar.gz -C ~/
175+ chmod +x ~/castxml/bin/castxml
176+
177+ - name : Setup CastXML for Linux x86_64 (Ubuntu 22.04)
178+ if : matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86_64'
157179 run : |
158- wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/bdbb67a10c5f8d1b738cd19cb074f409d4803e8077cb8c1072ef4eaf738fa871a73643f9c8282d58cae28d188df842c82ad6620b6d590b0396a0172a27438dce/download | tar zxf - -C ~/
180+ wget -q -O ~/castxml-ubuntu-22.04-x86_64.tar.gz https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11.post1/castxml-ubuntu-22.04-x86_64.tar.gz
181+ tar -xzf ~/castxml-ubuntu-22.04-x86_64.tar.gz -C ~/
182+ chmod +x ~/castxml/bin/castxml
183+
184+ # ─── Setup CastXML for MacOS ──────────────────────────────
159185 - name : Setup castxml for Mac
160186 if : contains(matrix.os, 'macos')
161187 run : |
162188 wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/5d937e938f7b882a3a3e7941e68f8312d0898aaf2082e00003dd362b1ba70b98b0a08706a1be28e71652a6a0f1e66f89768b5eaa20e5a100592d5b3deefec3f0/download | tar zxf - -C ~/
189+
163190 - name : Run tests
164191 run : |
165192 export PATH=~/castxml/bin:$PATH
0 commit comments