trimpath
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
Sarah Jamie Lewis 2023-01-31 22:06:59 -08:00
parent e1bfa8999c
commit 26dad1e947
1 changed files with 2 additions and 7 deletions

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