on iko/ghcjs-patch-master help sign in
Merge pull request #93 from input-output-hk/rvl/more-ci

Add Hydra jobset and Buildkite pipeline

commit2615bd754ae6cf4627109a0562ce8b4c3251c283 authorRodney Lorrimar <dev@rodney.id.au> dateWed 20 Mar 2019, 15:52 (8 years ago) parent12511298437034
4 files changed+20−5
.buildkite/pipeline.yml+9 README.org+1 release.nix+7 test/default.nix+3−5
.buildkite/pipeline.ymlnew file+9
@@ -0,0 +1,9 @@
1+env:
2+ NIX_PATH: "nixpkgs=channel:nixos-18.09"
3+ NIX_BUILD_ARGS: "--cores 0 --max-jobs 2"
4+
5+steps:
6+ - label: 'Run tests'
7+ command: "NIX_PATH=nixpkgs=channel:nixos-18.09 ./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 {