Skip to content

Commit ca15cb3

Browse files
committed
macos
1 parent 446e873 commit ca15cb3

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,13 @@ jobs:
132132

133133
# MACOS
134134
- os: macos-13
135+
arch: x86_64
135136
compiler: clang++
136137
python-version: "3.13"
137138
castxml-epic: 0
138139

139-
- os: macos-14
140+
- os: macos-15
141+
arch: arm64
140142
compiler: clang++
141143
python-version: "3.13"
142144
castxml-epic: 0
@@ -182,10 +184,19 @@ jobs:
182184
chmod +x ~/castxml/bin/castxml
183185
184186
# ─── Setup CastXML for MacOS ──────────────────────────────
185-
- name: Setup castxml for Mac
186-
if: contains(matrix.os, 'macos')
187+
- name: Setup CastXML for Linux x86_64 (Ubuntu 24.04)
188+
if: matrix.os == 'macos-15' && matrix.arch == 'arm64'
187189
run: |
188-
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/5d937e938f7b882a3a3e7941e68f8312d0898aaf2082e00003dd362b1ba70b98b0a08706a1be28e71652a6a0f1e66f89768b5eaa20e5a100592d5b3deefec3f0/download | tar zxf - -C ~/
190+
wget -q -O ~/castxml-ubuntu-24.04-arm-aarch64.tar.gz https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11.post1/castxml-ubuntu-24.04-arm-aarch64.tar.gz
191+
tar -xzf ~/castxml-ubuntu-24.04-arm-aarch64.tar.gz -C ~/
192+
chmod +x ~/castxml/bin/castxml
193+
194+
- name: Setup CastXML for Linux x86_64 (Ubuntu 22.04)
195+
if: matrix.os == 'macos-13' && matrix.arch == 'x86_64'
196+
run: |
197+
wget -q -O ~/castxml-macos-15-x86_64.tar.gz https://github.com/CastXML/CastXMLSuperbuild/releases/download/v0.6.11.post1/castxml-macos-15-x86_64.tar.gz
198+
tar -xzf ~/castxml-macos-15-x86_64.tar.gz -C ~/
199+
chmod +x ~/castxml/bin/castxml
189200
190201
- name: Run tests
191202
run: |

0 commit comments

Comments
 (0)