about summary refs log tree commit diff
path: root/ci/pipelines/briefcase.nix
blob: 9b09ef69b5d9e7ec34d9c23247b052f6c7f70090 (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 = ":briefcase: Briefcase [lint]";
    }
    {
      command = "nix-build . -I briefcase=$(pwd) --no-out-link --show-trace";
      label = ":briefcase: Briefcase [build]";
    }
  ];
in pkgs.writeText "briefcase.yaml" (builtins.toJSON pipeline)