Skip to content

Commit daa8a08

Browse files
committed
tests.yml
1 parent ccbd142 commit daa8a08

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

.github/workflows/tests.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,24 +199,46 @@ jobs:
199199
- name: Install Python lib and test libs
200200
run: |
201201
pip install '.[test]'
202+
202203
- name: Run pycodestyle
203204
run: pycodestyle . --exclude=docs
204-
- name: Setup castxml for Linux x86_64
205-
if: (matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04')
205+
206+
# ─── Setup castxml for Linux x86_64 ─────────────────────────────
207+
- name: Setup castxml for Linux x86_64 (Ubuntu 22.04)
208+
if: matrix.os == 'ubuntu-22.04'
206209
run: |
207-
wget -q -O - https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-linux.tar.gz | tar zxf - -C ~/
208-
- name: Setup castxml for Linux arm64/aarch64
209-
if: (matrix.os == 'ubuntu-24.04-arm' || matrix.os == 'ubuntu-22.04-arm')
210+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-22.04-x86_64.zip
211+
unzip -q castxml-ubuntu-22.04-x86_64.zip -d ~/
212+
- name: Setup castxml for Linux x86_64 (Ubuntu 24.04)
213+
if: matrix.os == 'ubuntu-24.04'
210214
run: |
211-
wget -q -O - https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-linux-aarch64.tar.gz | tar zxf - -C ~/
215+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-24.04-x86_64.zip
216+
unzip -q castxml-ubuntu-24.04-x86_64.zip -d ~/
217+
218+
# ─── Setup castxml for Linux arm64/aarch64 ───────────────────────
219+
- name: Setup castxml for Linux arm64/aarch64 (Ubuntu 22.04)
220+
if: matrix.os == 'ubuntu-22.04-arm64'
221+
run: |
222+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-22.04-arm-aarch64.zip
223+
unzip -q castxml-ubuntu-22.04-arm-aarch64.zip -d ~/
224+
- name: Setup castxml for Linux arm64/aarch64 (Ubuntu 24.04)
225+
if: matrix.os == 'ubuntu-24.04-arm64'
226+
run: |
227+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-24.04-arm-aarch64.zip
228+
unzip -q castxml-ubuntu-24.04-arm-aarch64.zip -d ~/
229+
230+
# ─── Setup castxml for macOS ──────────────────────────────────────
212231
- name: Setup castxml for Mac x86_64
213232
if: matrix.os == 'macos-15' && matrix.arch == 'x86_64'
214233
run: |
215-
wget -q -O - https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macosx.tar.gz | tar zxf - -C ~/
234+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-x86_64.zip
235+
unzip -q castxml-macos-15-x86_64.zip -d ~/
216236
- name: Setup castxml for Mac ARM
217237
if: matrix.os == 'macos-15' && matrix.arch == 'arm64'
218238
run: |
219-
wget -q -O - https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-arm.tar.gz | tar zxf - -C ~/
239+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-arm64.zip
240+
unzip -q castxml-macos-15-arm64.zip -d ~/
241+
220242
- name: Run tests
221243
run: |
222244
export PATH=~/castxml/bin:$PATH

0 commit comments

Comments
 (0)