From 26dad1e947bc3f1ca6739bf00e4d0659dabf5ff1 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 31 Jan 2023 22:06:59 -0800 Subject: [PATCH] trimpath --- .drone.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 17fd47c..686bee2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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