Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/release/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def targets(path=None):
if r['arch'] != arch or r['library'] != library or r['resource'] != f"natives/{r['system']}-{arch}/{r['backend']}/{library}":
raise ValueError('Incorrect native resource contract')
expected_runner = ('ubuntu-24.04' if r['system'] == 'linux' and r['backend'] == 'vulkan'
else {'linux': 'ubuntu-22.04', 'windows': 'windows-2022', 'macos': 'macos-14'}[r['system']])
else {'linux': 'ubuntu-22.04', 'windows': 'windows-2022', 'macos': 'macos-26'}[r['system']])
if r['runner'] != expected_runner or r['baseline'] != ('armv8-a' if arch == 'aarch64' else 'x86-64-v3'):
raise ValueError('Incorrect runner or CPU baseline')
return rows
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/platforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
{
"id": "macos-aarch64-metal",
"runner": "macos-14",
"runner": "macos-26",
"system": "macos",
"arch": "aarch64",
"backend": "metal",
Expand Down
2 changes: 2 additions & 0 deletions scripts/release/tests/test_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ def test_catalog_duplicate_and_unknown_mask(self):
[{**r, 'mask': r['mask'] | 128} for r in data['targets']],
[{**r, 'runner': 'ubuntu-latest'} if r['backend'] == 'vulkan' and r['system'] == 'linux' else r
for r in data['targets']],
[{**r, 'runner': 'macos-14'} if r['system'] == 'macos' else r
for r in data['targets']],
]:
path.write_text(json.dumps({'schema': 1, 'targets': rows}))
with self.assertRaises(ValueError): targets(path)
Expand Down
Loading