~matthiasbeyer/imag

ref: be50f5ad51d05dd3d24ecfd6343055737a2757f0 imag/.builds/nixos.yml -rw-r--r-- 907 bytes
be50f5adMatthias Beyer builds: nixos: Switch to latest stable channel 1 year, 6 months ago
                                                                                
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
31
32
image: nixos/latest
repositories:
  nixpkgs: https://nixos.org/channels/nixos-20.03
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 ./shell.nix --run "echo nix-shell ready"
  - userdoc: |
      cd imag/doc/user
      nix-shell -p mdbook --run "mdbook build"
  - build: |
      cd imag
      nix-shell ./shell.nix --run "cargo build --all --all-features"
  - prepare-test: |
      git config --global user.name "Test user"
      git config --global user.email "test@user.tld"
  - test: |
      cd imag
      nix-shell ./shell.nix --run "cargo test --all --all-features"
triggers:
  - action: email
    condition: always
    to: mail@beyermatthias.de