Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add build for aarch64-apple-darwin #107

Merged
merged 2 commits into from
Oct 28, 2021
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
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ jobs:
os: macos-latest
test: true
cross: false
# waiting for approval
# - target: aarch64-apple-darwin
# os: macos-11
# test: true
# cross: false
- target: aarch64-apple-darwin
os: macos-11
test: true
cross: false
# windows: with cross on ubuntu
- target: aarch64-pc-windows-msvc
os: windows-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ open class SourcePatchingPlugin : Plugin<Project> {
companion object {
private val targetTriples = mapOf(
(OperatingSystem.MACOS to Architecture.X64) to "x86_64-apple-darwin",
// currently, no build for aarch64-darwin. use x64 with Rosetta
(OperatingSystem.MACOS to Architecture.ARM64) to "x86_64-apple-darwin",
//(OperatingSystem.MACOS to Architecture.ARM64) to "aarch64-apple-darwin",
(OperatingSystem.MACOS to Architecture.ARM64) to "aarch64-apple-darwin",
(OperatingSystem.WINDOWS to Architecture.ARM64) to "aarch64-pc-windows-msvc",
(OperatingSystem.WINDOWS to Architecture.X86) to "i686-pc-windows-msvc",
(OperatingSystem.WINDOWS to Architecture.X64) to "x86_64-pc-windows-msvc",
Expand Down