add build step and arm64 pipeline
continuous-integration/drone/push Build was killed Details

This commit is contained in:
glyph 2022-04-06 11:55:00 +02:00
parent b158fba147
commit c792aea2f6
1 changed files with 47 additions and 0 deletions

View File

@ -28,6 +28,53 @@ steps:
commands:
- cargo test
- name: build
image: rust:buster
commands:
- cargo build
trigger:
event:
include:
- push
- pull_request
---
kind: pipeline
type: docker
name: test-on-arm64
platform:
arch: arm64
steps:
- name: rustfmt
image: rust:buster
commands:
- rustup component add rustfmt
- cargo fmt --check
- name: clippy
image: rust:buster
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- name: check
image: rust:buster
commands:
- cargo check
- name: test
image: rust:buster
commands:
- cargo test
- name: build
image: rust:buster
commands:
- cargo build
trigger:
event:
include: