chore(ci): start ci config

repo-db
Jef Roosens 2023-07-31 18:13:55 +02:00
parent f78b439a36
commit beae48e72e
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
3 changed files with 32 additions and 0 deletions

View 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]

View 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]

View File

@ -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