Skip to content

Commit 969738f

Browse files
committed
Add Hydra jobset and Buildkite pipeline
1 parent 0de60e8 commit 969738f

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
env:
2+
NIX_PATH: "channel:nixos-18.09"
3+
NIX_BUILD_ARGS: "--cores 0 --max-jobs 2"
4+
5+
steps:
6+
- label: 'Run tests'
7+
command: ./test/tests.sh
8+
agents:
9+
system: x86_64-linux

release.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
with (import ./default.nix {});
2+
3+
{
4+
inherit nix-tools;
5+
6+
tests = callPackage ./test {};
7+
}

test/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
{ pkgs ? import <nixpkgs> { } }:
1+
{ pkgs ? import <nixpkgs> { }
2+
, haskell ? pkgs.callPackage ../. { }
3+
}:
24

35
with pkgs;
46

57
let
6-
7-
# The new Haskell infra applied to nix representation of Hackage
8-
haskell = pkgs.callPackage ../. { };
9-
108
util = callPackage ./util.nix {};
119

1210
in {

0 commit comments

Comments
 (0)