Woodpecker pipelines
This commit is contained in:
10
.woodpecker/all-checks-complete.yml
Normal file
10
.woodpecker/all-checks-complete.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
pipeline:
|
||||||
|
nix:
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- echo "All required checks complete"
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- run
|
||||||
|
- build
|
||||||
|
- ci-specific
|
11
.woodpecker/build.yml
Normal file
11
.woodpecker/build.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: nixos/nix
|
||||||
|
commands:
|
||||||
|
- nix develop --command cargo test --verbose --release
|
||||||
|
- nix develop --command cargo test --verbose
|
||||||
|
lint:
|
||||||
|
image: nixos/nix
|
||||||
|
commands:
|
||||||
|
- nix develop --command cargo -- fmt --all -- --check
|
||||||
|
- nix develop --command cargo -- clippy -- -D warnings -W clippy::must_use_candidate
|
7
.woodpecker/ci-specific.yml
Normal file
7
.woodpecker/ci-specific.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
pipeline:
|
||||||
|
alejandra:
|
||||||
|
image: nixos/nix
|
||||||
|
commands:
|
||||||
|
- nix develop .#ci --command alejandra -- --check .
|
||||||
|
- nix develop .#ci --command markdown-link-check README.md
|
||||||
|
|
6
.woodpecker/run.yml
Normal file
6
.woodpecker/run.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
pipeline:
|
||||||
|
nix:
|
||||||
|
image: nixos/nix
|
||||||
|
commands:
|
||||||
|
- nix build
|
||||||
|
- nix run
|
Reference in New Issue
Block a user