1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 01:51:07 +09:00

GO-3906 Fix tantivy build for ios

This commit is contained in:
Mikhail Iudin 2024-08-23 14:28:10 +02:00
parent 20ff0b5bbd
commit fc43986289
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -233,8 +233,9 @@ jobs:
go install go.uber.org/mock/mockgen@v0.3.0
make test-deps
gomobile bind -tags "envproduction nogrpcserver gomobile nowatchdog nosigar nomutexdeadlockdetector timetzdata" -ldflags "$FLAGS" -v -target=ios -o Lib.xcframework github.com/anyproto/anytype-heart/clientlibrary/service github.com/anyproto/anytype-heart/core || true
mkdir -p dist/ios/ && mv Lib.xcframework dist/ios/
go run cmd/iosrepack/main.go
gtar --exclude ".*" -czvf ios_framework.tar.gz Lib.xcframework protobuf json
gtar --exclude ".*" -czvf ios_framework.tar.gz dist/ios/Lib.xcframework protobuf json
gradle publish
mv ios_framework.tar.gz .release/ios_framework_${VERSION}.tar.gz
env: