1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-29 03:27:44 +00:00
alejandra/buildkite-cd.yaml
2025-04-11 13:17:47 -06:00

30 lines
699 B
YAML

agents:
queue: private
steps:
- label: build
artifacts:
- alejandra-*
command:
- echo +++
- nix build .#alejandra-binaries
- nix-store
--query
--include-outputs $(nix-store --query --deriver result)
--requisites |
grep -v '\.drv$$' |
cachix push alejandra
- cp -L result/* .
- label: coverage
command:
- echo +++ Fetch
- git branch -D main
- git branch main
- git checkout main
- echo --- Load environment
- direnv allow
- eval "$(direnv export bash)"
- echo +++ Run tests
- cd src/alejandra
- cargo tarpaulin --coveralls "$${COVERALLS_REPO_TOKEN}"