0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-25 09:20:40 +00:00

chore: build arm-7 binaries

This commit is contained in:
Robert Kaussow 2021-02-15 21:03:27 +01:00
parent 3a43e65a13
commit 2203493d56
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 5 additions and 3 deletions

View File

@ -87,8 +87,9 @@ local PipelineBuildBinaries = {
commands: [
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
'mkdir -p release/',
"cd cmd/drone-github-comment && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out drone-github-comment .",
"cd cmd/drone-github-comment && xgo -ldflags \"-s -w -X main.version=$BUILD_VERSION\" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm-7,linux/arm64' -out drone-github-comment .",
'mv /build/* /drone/src/release/',
'ls -l /drone/src/release/',
],
},
{

View File

@ -66,8 +66,9 @@ steps:
commands:
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
- mkdir -p release/
- cd cmd/drone-github-comment && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm64' -out drone-github-comment .
- cd cmd/drone-github-comment && xgo -ldflags "-s -w -X main.version=$BUILD_VERSION" -tags netgo -targets 'linux/amd64,linux/arm-6,linux/arm-7,linux/arm64' -out drone-github-comment .
- mv /build/* /drone/src/release/
- ls -l /drone/src/release/
- name: executable
image: alpine
@ -475,6 +476,6 @@ depends_on:
---
kind: signature
hmac: ae2c317057edc919a12571358ebe09305828cab50ba6d545dd55b71ed8431988
hmac: e0af5cf53442daccc9ef1a29e947b4e7ca4bfc59d600f9c6351ac183411cc83f
...