forked from lix-project/lix
Add release notes system for dev facing release notes
We keep changing dev stuff and we probably should keep the news up to
date?
Change-Id: I819da6a29f1c56c8ab8d758c159a9c96164cb04e
This commit is contained in:
parent
0436f4cfa6
commit
50c6feeb77
15
flake.nix
15
flake.nix
|
@ -279,18 +279,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
checks = forAllSystems (system: {
|
checks = forAllSystems (system: let
|
||||||
|
rl-next-check = name: dir:
|
||||||
|
let pkgs = nixpkgsFor.${system}.native;
|
||||||
|
in pkgs.buildPackages.runCommand "test-${name}-release-notes" { } ''
|
||||||
|
LANG=C.UTF-8 ${lib.getExe pkgs.build-release-notes} ${dir} >$out
|
||||||
|
'';
|
||||||
|
in {
|
||||||
# FIXME(Qyriad): remove this when the migration to Meson has been completed.
|
# FIXME(Qyriad): remove this when the migration to Meson has been completed.
|
||||||
mesonBuild = self.hydraJobs.mesonBuild.${system};
|
mesonBuild = self.hydraJobs.mesonBuild.${system};
|
||||||
mesonBuildClang = self.hydraJobs.mesonBuildClang.${system};
|
mesonBuildClang = self.hydraJobs.mesonBuildClang.${system};
|
||||||
binaryTarball = self.hydraJobs.binaryTarball.${system};
|
binaryTarball = self.hydraJobs.binaryTarball.${system};
|
||||||
perlBindings = self.hydraJobs.perlBindings.${system};
|
perlBindings = self.hydraJobs.perlBindings.${system};
|
||||||
nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system};
|
nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system};
|
||||||
rl-next =
|
rl-next = rl-next-check "rl-next" ./doc/manual/rl-next;
|
||||||
let pkgs = nixpkgsFor.${system}.native;
|
rl-next-dev = rl-next-check "rl-next-dev" ./doc/manual/rl-next-dev;
|
||||||
in pkgs.buildPackages.runCommand "test-rl-next-release-notes" { } ''
|
|
||||||
LANG=C.UTF-8 ${lib.getExe pkgs.build-release-notes} ${./doc/manual/rl-next} >$out
|
|
||||||
'';
|
|
||||||
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
|
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
|
||||||
dockerImage = self.hydraJobs.dockerImage.${system};
|
dockerImage = self.hydraJobs.dockerImage.${system};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue