Add hydra build
continuous-integration/drone/push Build is failing Details

Simon Bruder 2021-05-13 14:02:46 +02:00
parent cb5792e729
commit 3068d3e035
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 12 additions and 1 deletions

View File

@ -164,7 +164,10 @@
src = self;
buildPhase = "mkdocs build -d $out";
buildPhase = ''
mkdocs build -d $out
echo "doc wiki $out" >> $out/nix-support/hydra-build-products
'';
installPhase = ''
mkdir -p $out/assets/fonts
@ -185,5 +188,13 @@
${pkgs.miniserve}/bin/miniserve --index index.html ${packages.wiki}
'';
};
# My hydra only has x86_64-linux builders
hydraJobs =
if builtins.elem system [ "x86_64-linux" ]
then {
build = packages.wiki;
}
else { };
});
}