ci(nix): add archive packages and overhaul CI workflows
Run checks and build archives / build (linux-aarch64) (push) Has been cancelled
Run checks and build archives / build (linux-x86_64) (push) Has been cancelled
Run checks and build archives / build (windows-x86_64) (push) Has been cancelled
Run checks and build archives / coverage-and-sonar (push) Has been cancelled

This commit is contained in:
2026-05-04 09:50:50 +02:00
parent 691d6c701d
commit 827b2a64f7
8 changed files with 202 additions and 195 deletions
+16
View File
@@ -0,0 +1,16 @@
{
bin,
pkgs,
archiveName
}:
pkgs.stdenv.mkDerivation rec {
name = "jj-cz-${archiveName}";
src = pkgs.lib.cleanSource ../.;
nativeBuildInputs = [pkgs.zip];
buildPhase = ''
mkdir -p $out/dist
zip -j $out/dist/${name}.zip ${bin}/bin/jj-cz* ${src}/README.md ${src}/LICENSE.*
'';
installPhase = "";
dontConfigure = true;
}