chore(): Tests building package in parallel
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
9e8a2a392f
commit
00d1ef76f3
1 changed files with 27 additions and 4 deletions
31
.drone.yml
31
.drone.yml
|
@ -28,6 +28,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build -o bin/cmw-linux-amd64
|
- go build -o bin/cmw-linux-amd64
|
||||||
|
depends_on:
|
||||||
|
- prepare
|
||||||
|
|
||||||
- name: build-darwin-amd64
|
- name: build-darwin-amd64
|
||||||
image: golang
|
image: golang
|
||||||
|
@ -37,6 +39,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build -o bin/cmw-darwin-amd64
|
- go build -o bin/cmw-darwin-amd64
|
||||||
|
depends_on:
|
||||||
|
- prepare
|
||||||
|
|
||||||
- name: build-windows-amd64
|
- name: build-windows-amd64
|
||||||
image: golang
|
image: golang
|
||||||
|
@ -46,6 +50,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build -o bin/cmw-windows-amd64
|
- go build -o bin/cmw-windows-amd64
|
||||||
|
depends_on:
|
||||||
|
- prepare
|
||||||
|
|
||||||
- name: build-linux-arm64
|
- name: build-linux-arm64
|
||||||
image: golang
|
image: golang
|
||||||
|
@ -55,6 +61,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build -o bin/cmw-linux-arm64
|
- go build -o bin/cmw-linux-arm64
|
||||||
|
depends_on:
|
||||||
|
- prepare
|
||||||
|
|
||||||
- name: build-darwin-arm64
|
- name: build-darwin-arm64
|
||||||
image: golang
|
image: golang
|
||||||
|
@ -64,11 +72,26 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build -o bin/cmw-darwin-arm64
|
- go build -o bin/cmw-darwin-arm64
|
||||||
|
depends_on:
|
||||||
|
- prepare
|
||||||
|
|
||||||
- name: check-all
|
- name: gitea_release
|
||||||
image: golang
|
image: plugins/gitea-release
|
||||||
commands:
|
settings:
|
||||||
- ls -ltra bin/
|
title: Draft ${DRONE_COMMIT_SHA:0:8}
|
||||||
|
draft: true
|
||||||
|
note: Draft release of ${DRONE_COMMIT_SHA:0:8}
|
||||||
|
api_key:
|
||||||
|
from_secret:
|
||||||
|
registry_password
|
||||||
|
base_url: https://scm.project42.io
|
||||||
|
files: bin/*
|
||||||
|
depends_on:
|
||||||
|
- build-linux-amd64
|
||||||
|
- build-darwin-amd64
|
||||||
|
- build-windows-amd64
|
||||||
|
- build-linux-arm64
|
||||||
|
- build-darwin-arm64
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
Loading…
Reference in a new issue