chore(ci): start ci config
This commit is contained in:
parent
f78b439a36
commit
beae48e72e
3 changed files with 32 additions and 0 deletions
13
.woodpecker/build.yml
Normal file
13
.woodpecker/build.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
platform: 'linux/amd64'
|
||||||
|
branches:
|
||||||
|
exclude: [main]
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: 'rust:1.70-alpine3.18'
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache build-base libarchive libarchive-dev
|
||||||
|
- cargo build --verbose
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
|
||||||
13
.woodpecker/clippy.yml
Normal file
13
.woodpecker/clippy.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
platform: 'linux/amd64'
|
||||||
|
|
||||||
|
branches:
|
||||||
|
exclude: [main]
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
clippy:
|
||||||
|
image: 'rust:1.70-alpine3.18'
|
||||||
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy -- --no-deps -Dwarnings
|
||||||
|
when:
|
||||||
|
event: [push]
|
||||||
|
|
@ -19,3 +19,9 @@ tower-http = { version = "0.4.1", features = ["fs", "trace"] }
|
||||||
tracing = "0.1.37"
|
tracing = "0.1.37"
|
||||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||||
uuid = { version = "1.4.0", features = ["v4"] }
|
uuid = { version = "1.4.0", features = ["v4"] }
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "fat"
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
strip = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue