Add Hydra jobset and Buildkite pipeline
commit286db94d025b1b6466212cb3c8a34be0f6778f98
authorRodney Lorrimar <rodney.lorrimar@iohk.io>
dateWed 20 Mar 2019, 08:39 (8 years ago)
parent1251129
.buildkite/pipeline.ymlnew file+9
@@ -0,0 +1,9 @@
1+env:
2+ NIX_PATH: "nixpkgs=channel:nixos-19.03"
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
README.org+1
@@ -3,6 +3,7 @@
33* Alternative Haskell Infrastructure for Nixpkgs
44
55[[https://travis-ci.org/input-output-hk/haskell.nix][https://travis-ci.org/input-output-hk/haskell.nix.svg?branch=master]]
6+[[https://buildkite.com/input-output-hk/haskell-dot-nix][https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg]]
67
78=haskell.nix= is an experimental new builder for Haskell packages.
89
release.nixnew file+7
@@ -0,0 +1,7 @@
1+with (import ./default.nix {});
2+
3+{
4+ inherit nix-tools;
5+
6+ tests = callPackage ./test {};
7+}
test/default.nix+3−5
@@ -1,12 +1,10 @@
1−{ pkgs ? import <nixpkgs> { } }:
1+{ pkgs ? import <nixpkgs> { }
2+, haskell ? pkgs.callPackage ../. { }
3+}:
24
35with pkgs;
46
57let
6−
7− # The new Haskell infra applied to nix representation of Hackage
8− haskell = pkgs.callPackage ../. { };
9−
108 util = callPackage ./util.nix {};
119
1210in {