drone.yml gomobile explode /go from GOPATH
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Ballard 2021-03-22 16:10:12 -07:00
parent f9d7230427
commit f1c2b3094a
1 changed files with 11 additions and 11 deletions

View File

@ -47,7 +47,6 @@ steps:
event: [ push, pull_request ]
commands:
- make linux
- go version
- name: build-android
image: openpriv/android-go-mobile:2021
@ -59,17 +58,18 @@ steps:
branch: trunk
event: [ push, pull_request ]
commands:
#- rm -rf /gomogile/pkg*
#- rm -rf /go/pkg
#- rm -rf /tmp/gomobile*
#- rm -rf vendor
- go clean --modcache
#- rm -rf /gomogile/pkg*
#- rm -rf /go/pkg
#- rm -rf /tmp/gomobile*
#- rm -rf vendor
#- go clean --modcache
#- export GOPATH=/gomobile
- go mod download
- go get golang.org/x/mobile/cmd/gomobile
- go get golang.org/x/mobile/cmd/gobind
- go get -u golang.org/x/mobile
- go get -u golang.org/x/mobile/bind
- gomobile clean
#- go get golang.org/x/mobile/cmd/gomobile
#- go get golang.org/x/mobile/cmd/gobind
#- go get -u golang.org/x/mobile
#- go get -u golang.org/x/mobile/bind
# - gomobile clean
- gomobile init
- make android