File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 2626 target : aarch64-unknown-linux-gnu
2727 artifact_name : psy-validator-cli-linux-aarch64
2828 extension : " "
29+ - os : macos-latest
30+ target : x86_64-apple-darwin
31+ artifact_name : psy-validator-cli-macos-x86_64
32+ extension : " "
2933 - os : macos-latest
3034 target : aarch64-apple-darwin
3135 artifact_name : psy-validator-cli-macos-aarch64
5862 echo '[target.aarch64-unknown-linux-gnu]' >> ~/.cargo/config.toml
5963 echo 'linker = "aarch64-linux-gnu-gcc"' >> ~/.cargo/config.toml
6064
65+ - name : Install macOS SDK for x86_64 (if needed)
66+ if : matrix.target == 'x86_64-apple-darwin'
67+ run : |
68+ # Rust should handle x86_64 cross-compilation on ARM64 macOS automatically
69+ # Just ensure the target is installed
70+ rustup target add x86_64-apple-darwin || true
71+
6172 - name : Cache cargo registry
6273 uses : actions/cache@v4
6374 with :
@@ -171,6 +182,7 @@ jobs:
171182
172183 - **Linux x86_64**: `psy-validator-cli-linux-x86_64.tar.gz`
173184 - **Linux ARM64**: `psy-validator-cli-linux-aarch64.tar.gz`
185+ - **macOS x86_64**: `psy-validator-cli-macos-x86_64.tar.gz`
174186 - **macOS ARM64**: `psy-validator-cli-macos-aarch64.tar.gz`
175187 - **Windows x86_64**: `psy-validator-cli-windows-x86_64.zip`
176188
You can’t perform that action at this time.
0 commit comments