chore(ci): start ci config

This commit is contained in:
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

13
.woodpecker/build.yml Normal file
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]

13
.woodpecker/clippy.yml Normal file
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]