ccc #14
32
.drone.yml
32
.drone.yml
@ -4,23 +4,26 @@ name: amd64 [debug]
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build [debug]
|
||||
image: rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo build --verbose --all
|
||||
|
||||
- name: test [debug]
|
||||
image: rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo test --verbose --all
|
||||
|
||||
- name: lint-clippy [debug]
|
||||
image: rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -28,7 +31,7 @@ steps:
|
||||
- cargo clippy --verbose --all
|
||||
|
||||
- name: format [debug]
|
||||
image: rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -42,23 +45,26 @@ name: arm64 [debug]
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build [debug]
|
||||
image: arm64v8/rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo build --verbose --all
|
||||
|
||||
- name: test [debug]
|
||||
image: arm64v8/rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- cargo test --verbose --all
|
||||
|
||||
- name: lint-clippy [debug]
|
||||
image: arm64v8/rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -66,7 +72,7 @@ steps:
|
||||
- cargo clippy --verbose --all
|
||||
|
||||
- name: format [debug]
|
||||
image: arm64v8/rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -80,9 +86,12 @@ name: amd64 [release]
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build and test [release]
|
||||
image: rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
@ -95,9 +104,12 @@ name: arm64 [release]
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
environment:
|
||||
RUST_IMAGE: rust:1.71.1-slim-bookworm
|
||||
|
||||
steps:
|
||||
- name: build and test [release]
|
||||
image: arm64v8/rust:alpine
|
||||
image: ${RUST_IMAGE}
|
||||
commands:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
|
Reference in New Issue
Block a user