forked from joejulian/gio
.builds: test iOS/Android builds of the gioui.org module, not just the example
The kitchen example may not yet refer to the newest version of the gioui.org module. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+3
-1
@@ -61,6 +61,8 @@ tasks:
|
||||
export PATH=/home/build/appletools/bin:$PATH
|
||||
CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-macos CGO_CFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" CGO_LDFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/MacOSX.sdk -arch x86_64" GOOS=darwin CGO_ENABLED=1 go build -o /dev/null ./kitchen
|
||||
- test_ios: |
|
||||
cd gio/example
|
||||
cd gio
|
||||
CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-ios CGO_CFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/iPhoneOS.sdk -arch arm64" CGO_LDFLAGS="--sysroot $APPLE_TOOLCHAIN_ROOT/iPhoneOS.sdk -arch arm64" GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -tags ios ./...
|
||||
export PATH=/home/build/appletools/bin:$PATH
|
||||
cd example
|
||||
gogio -target ios -o app.app ./kitchen
|
||||
|
||||
+3
-1
@@ -74,7 +74,9 @@ tasks:
|
||||
cd gio/cmd
|
||||
go install ./gogio
|
||||
- test_android: |
|
||||
cd gio/example
|
||||
cd gio
|
||||
CC=$ANDROID_SDK_ROOT/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang GOOS=android GOARCH=arm64 CGO_ENABLED=1 go build ./...
|
||||
cd example
|
||||
gogio -target android ./kitchen
|
||||
- check_gofmt: |
|
||||
cd gio
|
||||
|
||||
Reference in New Issue
Block a user