chore(ci): start ci config
parent
f78b439a36
commit
beae48e72e
|
@ -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]
|
||||
|
|
@ -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-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||
uuid = { version = "1.4.0", features = ["v4"] }
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = true
|
||||
|
|
Loading…
Reference in New Issue