add continuous build for helloworld examples

pull/1/head
Sebastien Bourdeauducq 2019-04-26 18:27:06 +08:00
parent 5436920008
commit 263b04245e
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
{ pkgs ? import <nixpkgs> {}}:
let
derivations = import ./derivations.nix { inherit pkgs; };
jobs = derivations // {
helloworld_ecp5 = import ./examples/helloworld_ecp5.nix { inherit pkgs; };
helloworld_kintex7 = import ./examples/helloworld_kintex7.nix { inherit pkgs; };
};
in
builtins.mapAttrs (name: value: pkgs.lib.hydraJob value) derivations
builtins.mapAttrs (name: value: pkgs.lib.hydraJob value) jobs