WIP: Check #114

Closed
sarah wants to merge 13 commits from new-android into trunk
1 changed files with 2 additions and 7 deletions
Showing only changes of commit 26dad1e947 - Show all commits

View File

@ -41,15 +41,10 @@ steps:
commands:
- git checkout tags/v1.10.4 -b v1.10.4
- 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
- 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
- name: build-linux