about summary refs log tree commit diff
path: root/ci/pipelines/briefcase.nix
blob: d010718a1c19a437322435291ce42bb232ae9973 (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";
      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)