Skip to content

Commit

Permalink
.github(cross-compile): try aarch64-windows-gnu
Browse files Browse the repository at this point in the history
This probably won't work immmediately.
  • Loading branch information
ee7 committed Aug 15, 2023
1 parent 62ed28c commit 83796fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/bin/cross-compile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ cross_compile() {
local arch='arm64'
local os
case "$(cut -d'-' -f2 <<<"${target}")" in
macos) os='macosx' ;;
*) os='linux' ;;
macos) os='macosx' ;;
windows) os='windows' ;;
*) os='linux' ;;
esac

nimble --verbose build --cpu:"${arch}" --os:"${os}" -d:release -d:zig -d:target:"${target}"
Expand All @@ -30,6 +31,7 @@ main() {
local targets=(
aarch64-linux-musl
# aarch64-macos-none
aarch64-windows-gnu
)

for target in "${targets[@]}"; do
Expand Down

0 comments on commit 83796fe

Please sign in to comment.