Skip to content

Commit 789fa9d

Browse files
authored
Update tests.yml
1 parent c98759f commit 789fa9d

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,37 @@ jobs:
9191
pip install '.[test]'
9292
- name: Run pycodestyle
9393
run: pycodestyle . --exclude=docs
94-
- name: Setup castxml for Linux
95-
if: matrix.os == 'ubuntu-20.04' && matrix.castxml == 'castxml'
94+
95+
# ─── Setup CastXML para Linux ARM64 ──────────────────────────────
96+
- name: Setup CastXML for Linux ARM64 (Ubuntu 22.04)
97+
if: matrix.os == 'ubuntu-22.04-arm64'
98+
run: |
99+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-22.04-arm-aarch64.zip
100+
unzip -q castxml-ubuntu-22.04-arm-aarch64.zip -d ~/
101+
tar -xzf ~/castxml-ubuntu-22.04-arm-aarch64.tar.gz -C ~/
102+
chmod +x ~/castxml/castxml
103+
- name: Setup CastXML for Linux ARM64 (Ubuntu 24.04)
104+
if: matrix.os == 'ubuntu-24.04-arm64'
105+
run: |
106+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-ubuntu-24.04-arm-aarch64.zip
107+
unzip -q castxml-ubuntu-24.04-arm-aarch64.zip -d ~/
108+
tar -xzf ~/castxml-ubuntu-24.04-arm-aarch64.tar.gz -C ~/
109+
chmod +x ~/castxml/castxml
110+
# ─── Setup CastXML para macOS ─────────────────────────────────────
111+
- name: Setup CastXML for macOS (x86_64)
112+
if: matrix.os == 'macos-15' && matrix.arch == 'x86_64'
96113
run: |
97-
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/bdbb67a10c5f8d1b738cd19cb074f409d4803e8077cb8c1072ef4eaf738fa871a73643f9c8282d58cae28d188df842c82ad6620b6d590b0396a0172a27438dce/download | tar zxf - -C ~/
98-
- name: Setup castxml for Mac
99-
if: matrix.os == 'macos-13'
114+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-x86_64.zip
115+
unzip -q castxml-macos-15-x86_64.zip -d ~/
116+
tar -xzf ~/castxml-macos-15-x86_64.tar.gz -C ~/
117+
chmod +x ~/castxml/castxml
118+
- name: Setup CastXML for macOS (ARM)
119+
if: matrix.os == 'macos-15' && matrix.arch == 'arm64'
100120
run: |
101-
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/5d937e938f7b882a3a3e7941e68f8312d0898aaf2082e00003dd362b1ba70b98b0a08706a1be28e71652a6a0f1e66f89768b5eaa20e5a100592d5b3deefec3f0/download | tar zxf - -C ~/
121+
wget -q https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11/castxml-macos-15-arm64.zip
122+
unzip -q castxml-macos-15-arm64.zip -d ~/
123+
tar -xzf ~/castxml-macos-15-arm64.tar.gz -C ~/
124+
chmod +x ~/castxml/castxml
102125
- name: Run tests
103126
run: |
104127
export PATH=~/castxml/bin:$PATH

0 commit comments

Comments
 (0)