-
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathbuildkite-cd.yaml
More file actions
30 lines (28 loc) · 699 Bytes
/
buildkite-cd.yaml
File metadata and controls
30 lines (28 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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}"