mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:05:05 +08:00
build: add gomobile android build
This commit is contained in:
parent
9e6c23d9af
commit
2833941da8
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -267,6 +267,15 @@ jobs:
|
|||
run: |
|
||||
make
|
||||
|
||||
- name: install gomobile
|
||||
run: |
|
||||
go get golang.org/x/mobile/cmd/gobind
|
||||
go get golang.org/x/mobile/cmd/gomobile
|
||||
env PATH=$PATH:~/go/bin gomobile init
|
||||
|
||||
- name: arm-v7a gomobile build
|
||||
run: env PATH=$PATH:~/go/bin gomobile bind -v -target=android/arm -javapkg=org.rclone -ldflags '-s -X github.com/rclone/rclone/fs.Version='${VERSION} github.com/rclone/rclone/librclone/gomobile
|
||||
|
||||
- name: arm-v7a Set environment variables
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user