updated .drone.yml
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Paul 2022-06-04 11:47:42 +02:00
parent 9739dd895c
commit f37fb7e3d8

View File

@ -1,7 +1,11 @@
---
kind: pipeline
type: docker
name: default
name: default-amd64
platform:
os: linux
arch: amd64
steps:
- name: test and build
@ -37,3 +41,47 @@ steps:
PLUGIN_TITLE: ""
when:
event: tag
---
kind: pipeline
type: docker
name: default-arm64
platform:
os: linux
arch: arm64
steps:
- name: test and build
image: rust:1
commands:
- apt-get update -y
- apt-get install -y libzmq3-dev libnftnl-dev libmnl-dev
- cargo build --verbose --all
- cargo test --verbose --all
when:
event: push
- name: release
image: rust:1
commands:
- apt-get update -y
- apt-get install -y libzmq3-dev libnftnl-dev libmnl-dev
- cargo build --release --verbose --all
- cd target/release
- tar -czvf ipblc-${DRONE_TAG}.tar.gz ipblc
when:
event: tag
- name: publish
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: "target/release/*.tar.gz"
checksum:
- sha256
- sha512
environment:
PLUGIN_TITLE: ""
when:
event: tag