garage/.woodpecker/debug.yaml

37 lines
853 B
YAML
Raw Normal View History

when:
event:
- push
- tag
- pull_request
- deployment
- cron
- manual
steps:
2025-02-02 21:08:47 +01:00
- name: fmt
image: nixpkgs/nix:nixos-22.05
commands:
- nix-shell --attr devShell --run "cargo fmt -- --check"
- name: build
image: nixpkgs/nix:nixos-22.05
commands:
2025-02-02 20:34:05 +01:00
- nix-build -j4 --attr flakePackages.dev
2025-02-02 21:08:47 +01:00
- name: unit + func tests (lmdb)
image: nixpkgs/nix:nixos-22.05
commands:
2025-02-02 20:34:05 +01:00
- nix-build -j4 --attr flakePackages.tests-lmdb
2025-02-02 21:08:47 +01:00
- name: unit + func tests (sqlite)
image: nixpkgs/nix:nixos-22.05
commands:
2025-02-02 20:34:05 +01:00
- nix-build -j4 --attr flakePackages.tests-sqlite
- name: integration tests
image: nixpkgs/nix:nixos-22.05
commands:
2025-02-02 20:34:05 +01:00
- nix-build -j4 --attr flakePackages.dev
- nix-shell --attr ci --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)
2025-02-02 21:08:47 +01:00
depends_on: [ build ]