mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
.builds: use Android SDK for 32-bit build test
With GOARCH=386, we can't readily build packages that use Cgo. However, we already have the Android SDK available, so use that to test for 32-bit issues such as #384. References: https://todo.sr.ht/~eliasnaur/gio/384 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -57,7 +57,6 @@ tasks:
|
||||
- test_gio: |
|
||||
cd gio
|
||||
go test -race ./...
|
||||
CGO_ENABLED=1 GOARCH=386 go test ./{f32,font,gesture,io,layout,op,text,unit,widget}/...
|
||||
GOOS=windows go test -exec=wine ./...
|
||||
GOOS=js GOARCH=wasm go build -o /dev/null ./...
|
||||
- install_chrome: |
|
||||
@@ -87,6 +86,7 @@ tasks:
|
||||
- test_android: |
|
||||
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 ./...
|
||||
CC=$ANDROID_SDK_ROOT/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi29-clang GOOS=android GOARCH=arm CGO_ENABLED=1 go build ./...
|
||||
- install_gogio: |
|
||||
cd gio/cmd
|
||||
go install ./gogio
|
||||
|
||||
Reference in New Issue
Block a user