summaryrefslogtreecommitdiffstats
path: root/.builds/nixos.yml
blob: baef33d64866b92a6b53368ce50f3a25ae9a461e (plain)
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
image: nixos/19.09
repositories:
  nixpkgs: https://nixos.org/channels/nixos-19.09
sources:
  - https://git.sr.ht/~matthiasbeyer/imag
tasks:
  - static: |
      cd imag
      bash ./scripts/find-dead-symlinks
      bash ./scripts/license-headers-updated
      bash ./scripts/branch-contains-no-tmp-commits
      bash ./scripts/version-updated
  - install: |
      cd imag
      nix-shell ./ci.nix --run "echo nix-shell ready"
  - userdoc: |
      cd imag
      nix-shell ./ci.nix --run "cargo install mdbook --force"
      cd doc/user
      ~/.cargo/bin/mdbook build
  - build: |
      cd imag
      nix-shell ./ci.nix --run "cargo build --all --all-features --tests"
  - test: |
      cd imag
      nix-shell ./ci.nix --run "cargo test --all --all-features"