~mzhang/garbage

9140ca2ca733d9514f77c2e625d228c430bf86e1 — Nathan Ringo 4 months ago c595ac4 master
Email when the CI fails.

Signed-off-by: Nathan Ringo <nathan@remexre.com>
2 files changed, 11 insertions(+), 2 deletions(-)

M .builds/archlinux.yml
M .builds/nixos.yml
M .builds/archlinux.yml => .builds/archlinux.yml +4 -1
@@ 9,4 9,7 @@ tasks:
  - build: |
      cd garbage
      cargo test --all

triggers:
  - action: email
    condition: failure
    to: Michael Zhang <mail@mzhang.io>

M .builds/nixos.yml => .builds/nixos.yml +7 -1
@@ 7,4 7,10 @@ sources:
environment:
  NIX_CONFIG: "experimental-features = nix-command flakes"
tasks:
  - build: time nix -L build ./garbage |& ts -s
  - build: |
      set -o pipefail
      nix -L build ./garbage |& ts -s
triggers:
  - action: email
    condition: failure
    to: Michael Zhang <mail@mzhang.io>