mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-01-18 11:17:06 +00:00
c8994e98a5
This adds a workflow into PRs to build the iOS and Android apps, just to verify that they aren't completely broken / unable to build. They're debug builds, so it won't completely mirror the release build, but that allows us to avoid getting signing keys in the workflow.
21 lines
527 B
Makefile
21 lines
527 B
Makefile
111MODULE = on
|
|
export GO111MODULE
|
|
|
|
unexport SWIFT_DEBUG_INFORMATION_VERSION
|
|
unexport SWIFT_DEBUG_INFORMATION_FORMAT
|
|
|
|
clean:
|
|
rm -rf mobileNebula.aar MobileNebula.xcframework
|
|
|
|
mobileNebula.aar: *.go go.sum
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
|
gomobile bind -trimpath -v --target=android -androidapi=26
|
|
|
|
MobileNebula.xcframework: *.go go.sum
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
|
gomobile bind -trimpath -v -target=ios
|
|
|
|
.DEFAULT_GOAL := mobileNebula.aar
|
|
|
|
.PHONY: clean
|
|
all: mobileNebula.aar MobileNebula.framework
|