ccc #14
26
.drone.yml
26
.drone.yml
@ -1,24 +1,29 @@
|
||||
kind: pipeline
|
||||
name: amd64 [debug]
|
||||
image: rust:1.71.1-slim-bookworm
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo build --verbose --all
|
||||
|
||||
- name: test [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo test --verbose --all
|
||||
|
||||
- name: lint-clippy [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -26,6 +31,7 @@ steps:
|
||||
- cargo clippy --verbose --all
|
||||
|
||||
- name: format [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -35,25 +41,30 @@ steps:
|
||||
---
|
||||
kind: pipeline
|
||||
name: arm64 [debug]
|
||||
image: rust:1.71.1-slim-bookworm
|
||||
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo build --verbose --all
|
||||
|
||||
- name: test [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo test --verbose --all
|
||||
|
||||
- name: lint-clippy [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -61,6 +72,7 @@ steps:
|
||||
- cargo clippy --verbose --all
|
||||
|
||||
- name: format [debug]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -70,13 +82,16 @@ steps:
|
||||
---
|
||||
kind: pipeline
|
||||
name: amd64 [release]
|
||||
image: rust:1.71.1-slim-bookworm
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build and test [release]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -85,13 +100,16 @@ steps:
|
||||
---
|
||||
kind: pipeline
|
||||
name: arm64 [release]
|
||||
image: rust:1.71.1-slim-bookworm
|
||||
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build and test [release]
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
|
Reference in New Issue
Block a user