.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:
Elias Naur
2020-12-05 13:32:35 +01:00
parent 2230accd34
commit 53e0733d20
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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