add continuous build for helloworld examples

This commit is contained in:
Sebastien Bourdeauducq 2019-04-26 18:27:06 +08:00
parent 5436920008
commit 263b04245e

View File

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