Also build for armv6
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-10-17 20:56:39 +02:00
parent d4c29ce6a6
commit f882e71b4e

View File

@ -41,8 +41,9 @@ steps:
- apk --no-cache add alsa-lib-dev build-base git pkgconf - apk --no-cache add alsa-lib-dev build-base git pkgconf
- go get -v -d - go get -v -d
- go vet -v - go vet -v
- go build -v -ldflags '-w -X main.Version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} - GOARM=6 go build -v -ldflags '-w -X main.Version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} reveil - GOARM=7 go build -v -ldflags '-w -X main.Version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -o deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
- ln deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7 reveil
when: when:
event: event:
- tag - tag
@ -53,7 +54,9 @@ steps:
api_key: api_key:
from_secret: gitea_api_key from_secret: gitea_api_key
base_url: https://git.nemunai.re/ base_url: https://git.nemunai.re/
files: deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH} files:
- deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
- deploy/reveil-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
when: when:
event: event:
- tag - tag