Limit APK builds to 64-bit ABIs
ci / lint-test (pull_request) Failing after 4m5s
ci / build (pull_request) Has been skipped

This commit is contained in:
Joe Julian
2026-04-25 23:03:37 -07:00
parent ab9214af99
commit 18084b5e83
+2
View File
@@ -8,6 +8,7 @@ APK_OUT ?= build/keepassgo.apk
APK_VERSION ?= 0.1.0.1 APK_VERSION ?= 0.1.0.1
APP_VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev) APP_VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
GO_LDFLAGS ?= -X git.julianfamily.org/keepassgo/internal/appui.appVersion=$(APP_VERSION) GO_LDFLAGS ?= -X git.julianfamily.org/keepassgo/internal/appui.appVersion=$(APP_VERSION)
APK_ARCH ?= arm64,amd64
ANDROID_MIN_SDK ?= 28 ANDROID_MIN_SDK ?= 28
ANDROID_TARGET_SDK ?= 35 ANDROID_TARGET_SDK ?= 35
SIGNKEY ?= SIGNKEY ?=
@@ -75,6 +76,7 @@ apk-local: android/keepassgo-android.jar
ANDROID_NDK_ROOT="$(ANDROID_NDK_ROOT)" \ ANDROID_NDK_ROOT="$(ANDROID_NDK_ROOT)" \
JAVA_HOME="$(JAVA_HOME)" \ JAVA_HOME="$(JAVA_HOME)" \
go tool gogio -target android \ go tool gogio -target android \
-arch $(APK_ARCH) \
-buildmode exe \ -buildmode exe \
-appid $(APP_ID) \ -appid $(APP_ID) \
-ldflags "$(GO_LDFLAGS)" \ -ldflags "$(GO_LDFLAGS)" \