Skip to content

Commit a5bb69d

Browse files
authored
Update tests.yml
1 parent 72cd300 commit a5bb69d

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/workflows/tests.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
matrix:
1515
include:
1616
- os: ubuntu-22.04
17+
arch: x86_64
1718
compiler: gcc
1819
version: "11"
1920
python-version: "3.10"
@@ -22,6 +23,7 @@ jobs:
2223
cppstd: "-std=c++17"
2324

2425
- os: ubuntu-22.04
26+
arch: x86_64
2527
compiler: gcc
2628
version: "11"
2729
python-version: "3.10"
@@ -30,6 +32,7 @@ jobs:
3032
cppstd: "-std=c++17"
3133

3234
- os: ubuntu-22.04
35+
arch: x86_64
3336
compiler: gcc
3437
version: "11"
3538
python-version: "3.10"
@@ -38,6 +41,7 @@ jobs:
3841
cppstd: "-std=c++17"
3942

4043
- os: ubuntu-22.04
44+
arch: x86_64
4145
compiler: gcc
4246
version: "11"
4347
python-version: "3.10"
@@ -46,6 +50,7 @@ jobs:
4650
cppstd: "-std=c++17"
4751

4852
- os: ubuntu-22.04
53+
arch: x86_64
4954
compiler: gcc
5055
version: "11"
5156
python-version: "3.11"
@@ -54,6 +59,7 @@ jobs:
5459
cppstd: "-std=c++17"
5560

5661
- os: ubuntu-22.04
62+
arch: x86_64
5763
compiler: gcc
5864
version: "11"
5965
python-version: "3.10"
@@ -62,6 +68,7 @@ jobs:
6268
cppstd: "-std=c++17"
6369

6470
- os: ubuntu-22.04
71+
arch: x86_64
6572
compiler: gcc
6673
version: "11"
6774
python-version: "3.10"
@@ -70,6 +77,7 @@ jobs:
7077
cppstd: "-std=c++11"
7178

7279
- os: ubuntu-22.04-arm64
80+
arch: aarch64
7381
compiler: gcc
7482
version: "11"
7583
python-version: "3.10"
@@ -78,6 +86,7 @@ jobs:
7886
cppstd: "-std=c++17"
7987

8088
- os: ubuntu-22.04-arm64
89+
arch: aarch64
8190
compiler: gcc
8291
version: "11"
8392
python-version: "3.10"
@@ -86,6 +95,7 @@ jobs:
8695
cppstd: "-std=c++17"
8796

8897
- os: ubuntu-22.04-arm64
98+
arch: aarch64
8999
compiler: gcc
90100
version: "11"
91101
python-version: "3.10"
@@ -94,6 +104,7 @@ jobs:
94104
cppstd: "-std=c++17"
95105

96106
- os: ubuntu-22.04-arm64
107+
arch: aarch64
97108
compiler: gcc
98109
version: "11"
99110
python-version: "3.11"
@@ -102,6 +113,7 @@ jobs:
102113
cppstd: "-std=c++17"
103114

104115
- os: ubuntu-22.04-arm64
116+
arch: aarch64
105117
compiler: gcc
106118
version: "11"
107119
python-version: "3.10"
@@ -110,6 +122,7 @@ jobs:
110122
cppstd: "-std=c++17"
111123

112124
- os: ubuntu-22.04-arm64
125+
arch: aarch64
113126
compiler: gcc
114127
version: "11"
115128
python-version: "3.10"
@@ -118,6 +131,7 @@ jobs:
118131
cppstd: "-std=c++11"
119132

120133
- os: ubuntu-24.04-arm64
134+
arch: aarch64
121135
compiler: gcc
122136
version: "14"
123137
python-version: "3.12"
@@ -126,6 +140,7 @@ jobs:
126140
cppstd: "-std=c++17"
127141

128142
- os: ubuntu-24.04-arm64
143+
arch: aarch64
129144
compiler: gcc
130145
version: "14"
131146
python-version: "3.12"
@@ -134,6 +149,7 @@ jobs:
134149
cppstd: "-std=c++17"
135150

136151
- os: ubuntu-24.04-arm64
152+
arch: aarch64
137153
compiler: gcc
138154
version: "14"
139155
python-version: "3.12"
@@ -142,6 +158,7 @@ jobs:
142158
cppstd: "-std=c++17"
143159

144160
- os: ubuntu-24.04-arm64
161+
arch: aarch64
145162
compiler: gcc
146163
version: "14"
147164
python-version: "3.12"
@@ -150,6 +167,7 @@ jobs:
150167
cppstd: "-std=c++17"
151168

152169
- os: ubuntu-24.04-arm64
170+
arch: aarch64
153171
compiler: gcc
154172
version: "14"
155173
python-version: "3.12"
@@ -158,6 +176,7 @@ jobs:
158176
cppstd: "-std=c++17"
159177

160178
- os: ubuntu-24.04-arm64
179+
arch: aarch64
161180
compiler: gcc
162181
version: "14"
163182
python-version: "3.12"
@@ -166,14 +185,16 @@ jobs:
166185
cppstd: "-std=c++17"
167186

168187
- os: ubuntu-24.04-arm64
188+
arch: aarch64
169189
compiler: gcc
170190
version: "14"
171191
python-version: "3.12"
172192
castxml: "castxml"
173193
castxml-epic: 1
174194
cppstd: "-std=c++17"
175195

176-
- os: macos-13
196+
- os: macos-15
197+
arch: x86_64
177198
compiler: xcode
178199
version: "default"
179200
python-version: "3.10"
@@ -182,6 +203,7 @@ jobs:
182203
cppstd: "-std=c++17"
183204

184205
- os: macos-15
206+
arch: arm64
185207
compiler: xcode
186208
version: "default"
187209
python-version: "3.12"
@@ -242,15 +264,15 @@ jobs:
242264
# ─── Setup CastXML for macOS ──────────────────────────────────────
243265
# For macOS, we assume different runners may need different binaries.
244266
- name: Setup CastXML for macOS (x86_64)
245-
if: matrix.os == 'macos-13'
267+
if: matrix.os == 'macos-15' && matrix.aarch == 'x86_64'
246268
run: |
247269
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-x86_64.zip
248270
unzip -q castxml-macos-15-x86_64.zip -d ~/
249271
tar -xzf ~/castxml-macos-15-x86_64.tar.gz -C ~/
250272
mv ~/castxml-macos-15-x86_64 ~/castxml
251273
252274
- name: Setup CastXML for macOS (ARM)
253-
if: matrix.os == 'macos-15'
275+
if: matrix.os == 'macos-15' && matrix.aarch == 'arm64'
254276
run: |
255277
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-arm64.zip
256278
unzip -q castxml-macos-15-arm64.zip -d ~/
@@ -259,5 +281,5 @@ jobs:
259281
260282
- name: Run tests
261283
run: |
262-
export PATH=~/castxml/bin:$PATH
284+
export PATH=~/castxml:$PATH
263285
pytest tests

0 commit comments

Comments
 (0)