about summary refs log tree commit diff
path: root/ci/pipelines/briefcase.nix
blob: b01e9f93cb9f5bcb0b0c733031f90567ea854021 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs, ... }:

let
  pipeline.steps = [
    {
      command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
      label = ":broom: lint";
    }
    {
      command = "nix-build . -I briefcase=$(pwd) --no-out-link --show-trace";
      label = ":nix: build";
    }
  ];
in pkgs.writeText "briefcase.yaml" (builtins.toJSON pipeline)