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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue