Commit f6736fb
ci(release): run release-pr / release jobs on macos-26
The release jobs run `cargo publish --verify`, which fresh-builds the
crate against crates.io versions of every dependency. The current
crates.io `apple-metal` (v0.6.1) statically references macOS 26 SDK
Metal symbols (MTLSamplerDescriptor.reductionMode, etc.), so the
verify step needs the macOS 26 SDK to compile. `macos-latest` is
pinned to macOS 14 in GitHub Actions today and ships an older Xcode
SDK, so the v3.1.2 publish failed with:
cannot find 'MTLSamplerReductionMode' in scope
value of type 'MTLSamplerDescriptor' has no member 'reductionMode'
error: failed to verify package tarball
Move release-pr + release to macos-26 — same SDK pin we already use
for the build matrix and lint job. This lets release-plz actually
publish v3.1.2 to crates.io on the next push to main.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7148a2b commit f6736fb
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
160 | 162 | | |
161 | 163 | | |
162 | | - | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
188 | | - | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
0 commit comments