mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +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: |
|
- test_gio: |
|
||||||
cd gio
|
cd gio
|
||||||
go test -race ./...
|
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=windows go test -exec=wine ./...
|
||||||
GOOS=js GOARCH=wasm go build -o /dev/null ./...
|
GOOS=js GOARCH=wasm go build -o /dev/null ./...
|
||||||
- install_chrome: |
|
- install_chrome: |
|
||||||
@@ -87,6 +86,7 @@ tasks:
|
|||||||
- test_android: |
|
- test_android: |
|
||||||
cd gio
|
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/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: |
|
- install_gogio: |
|
||||||
cd gio/cmd
|
cd gio/cmd
|
||||||
go install ./gogio
|
go install ./gogio
|
||||||
|
|||||||
Reference in New Issue
Block a user