Commit 6f36a2d
feat: Add macOS aarch64 build + support older MacOSX 10.7
Add an aarch64-apple-darwin (Apple Silicon) build target to the CI
matrix alongside the existing x86_64-apple-darwin target, so releases
include binaries for both Intel and Apple Silicon Macs. The x86_64
build is cross-compiled on the arm64 runner since macos-latest now
uses Apple Silicon hardware.
Set MACOSX_DEPLOYMENT_TARGET=10.7 for macOS builds so binaries only
depend on system features present in OS X 10.7 and older, maximizing
compatibility.
Update _release.yml to download and publish both macOS artifacts with
checksums.
Fixes #240
Prompts:
- [update macOS ci image · Issue #240 · timabell/gitopolis](#240)
- hang on, don't we need to provide for both arch's now there are two cpu arch's on different age macs?
- On macOS, we can set MACOSX_DEPLOYMENT_TARGET to 10.7 to only depend on system features present in versions 10.7 and older. ~ https://rust-cli.github.io/book/tutorial/packaging.html#building-binary-releases-on-ci
- commit
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e84ba00 commit 6f36a2d
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | | - | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
0 commit comments