File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 3434 - name : Build Web and Docs
3535 if : matrix.group == 'standard'
3636 run : |
37- go mod init torrserver-web-build
38- go mod tidy
3937 go run gen_web.go
4038 cd server && ~/go/bin/swag init -g web/server.go
4139
@@ -74,12 +72,11 @@ jobs:
7472 - name : Build Android (Go 1.25)
7573 if : matrix.group == 'android'
7674 run : |
77- go mod init torrserver-web-build
78- go mod tidy
7975 go run gen_web.go
8076 LDFLAGS="-s -w -checklinkname=0"
8177 mkdir -p dist
8278 export NDK_TOOLCHAIN="$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64"
79+ cd server
8380
8481 CC=$NDK_TOOLCHAIN/bin/armv7a-linux-androideabi21-clang CGO_ENABLED=1 GOOS=android GOARCH=arm GOARM=7 go build -ldflags="$LDFLAGS" -tags=nosqlite -trimpath -o dist/TorrServer-android-arm7 ./cmd
8582 CC=$NDK_TOOLCHAIN/bin/aarch64-linux-android21-clang CGO_ENABLED=1 GOOS=android GOARCH=arm64 go build -ldflags="$LDFLAGS" -tags=nosqlite -trimpath -o dist/TorrServer-android-arm64 ./cmd
You can’t perform that action at this time.
0 commit comments