test build with cache
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-04 12:27:22 +11:00
parent 55f7bacd7b
commit ea70e073ec
2 changed files with 35 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ export CGO_ENABLED=0
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
echo $now
make drone-cache
echo "build commences"
go build -ldflags "-X main.sha1ver=`git rev-parse HEAD` -X main.buildTime=$now" -o smt
echo "build complete"