Use hydra instead of drone

This commit is contained in:
Simon Bruder 2021-05-13 14:02:46 +02:00
parent 5fea4aa144
commit 6e9db83282
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 13 additions and 10 deletions

View file

@ -1,9 +0,0 @@
kind: pipeline
name: default
type: exec
steps:
- name: build
commands:
- nix build -L
- readlink -f result

View file

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