ci: test compilation against supported qt version / compiler matrix

This commit is contained in:
outfoxxed 2024-11-23 05:08:12 -08:00
parent 57a5d8e1ed
commit cb426973d7
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
7 changed files with 102 additions and 4 deletions

8
ci/matrix.nix Normal file
View file

@ -0,0 +1,8 @@
{
qtver,
compiler,
}: let
nixpkgs = (import ./nix-checkouts.nix).${builtins.replaceStrings ["."] ["_"] qtver};
compilerOverride = (nixpkgs.callPackage ./variations.nix {}).${compiler};
pkg = (nixpkgs.callPackage ../default.nix {}).override compilerOverride;
in pkg