Merge branch 'trunk' into peersettings
This commit is contained in:
commit
1fa86ca0ef
12
.drone.yml
12
.drone.yml
|
@ -36,8 +36,9 @@ steps:
|
||||||
- go list ./... | xargs go vet
|
- go list ./... | xargs go vet
|
||||||
- go list ./... | xargs golint
|
- go list ./... | xargs golint
|
||||||
#Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting
|
#Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting
|
||||||
|
|
||||||
- name: build-linux
|
- name: build-linux
|
||||||
image: openpriv/android-go-mobile:2021
|
image: golang
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
|
@ -47,6 +48,7 @@ steps:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
commands:
|
commands:
|
||||||
- make linux
|
- make linux
|
||||||
|
|
||||||
- name: build-android
|
- name: build-android
|
||||||
image: openpriv/android-go-mobile:2021
|
image: openpriv/android-go-mobile:2021
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -57,7 +59,14 @@ steps:
|
||||||
branch: trunk
|
branch: trunk
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
commands:
|
commands:
|
||||||
|
- 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
|
- make android
|
||||||
|
|
||||||
- name: notify-email
|
- name: notify-email
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
host: build.openprivacy.ca
|
host: build.openprivacy.ca
|
||||||
|
@ -80,5 +89,6 @@ steps:
|
||||||
gogs_url: https://git.openprivacy.ca
|
gogs_url: https://git.openprivacy.ca
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
# gopath where bin and pkg lives to persist across steps
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
Loading…
Reference in New Issue