trimpath
continuous-integration/drone/pr Build was killed
Details
continuous-integration/drone/pr Build was killed
Details
This commit is contained in:
parent
e1bfa8999c
commit
26dad1e947
|
@ -41,15 +41,10 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git checkout tags/v1.10.4 -b v1.10.4
|
- git checkout tags/v1.10.4 -b v1.10.4
|
||||||
- echo `git describe --tags` > VERSION
|
- echo `git describe --tags` > VERSION
|
||||||
- go env
|
|
||||||
- java -version
|
|
||||||
- cd $GOPATH/src/golang.org/x/mobile
|
|
||||||
- go install -trimpath -ldflags "-buildid=" ./cmd/gomobile
|
|
||||||
- go install -trimpath -ldflags "-buildid=" ./cmd/gobind
|
|
||||||
- cd /drone/src/
|
|
||||||
- go mod download
|
- go mod download
|
||||||
- gomobile init
|
- gomobile init
|
||||||
- make android
|
- ./switch-gomobile.sh
|
||||||
|
- gomobile bind -target android/arm,android/arm64,android/amd64 -trimpath -ldflags="-buildid=$(git describe --tags) -X cwtch.buildVer=$(git describe --tags) -X cwtch.buildDate=$(git log -1 --format=%cd --date=format:%G-%m-%d-%H-%M)"
|
||||||
- sha512sum cwtch.aar
|
- sha512sum cwtch.aar
|
||||||
|
|
||||||
- name: build-linux
|
- name: build-linux
|
||||||
|
|
Reference in New Issue