Skip to content

Commit fc78c36

Browse files
authored
Only build ghc96 in CI (#7373)
1 parent 531f1b8 commit fc78c36

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

nix/outputs.nix

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ let
112112
{ profiled = mkShell project.projectVariants.ghc96-profiled; } //
113113
{ metatheory-jailbreak = metatheory-jailbreak-shell; };
114114

115-
nested-ci-jobs = {
115+
full-nested-ci-jobs = {
116116
"x86_64-linux" =
117117
(project-variants-hydra-jobs) //
118118
(windows-hydra-jobs) //
@@ -131,9 +131,30 @@ let
131131
{ required = hydra-required-job; };
132132
};
133133

134-
flattened-ci-jobs = utils.flattenDerivationTree ":" nested-ci-jobs;
134+
small-nested-ci-jobs = {
135+
"x86_64-linux" =
136+
(windows-hydra-jobs) //
137+
(packages) //
138+
{ ghc96 = project-variants-hydra-jobs.ghc96; } //
139+
{ devShells.default = non-profiled-shells.default; } //
140+
{ devShells.metatheory-jailbreak = metatheory-jailbreak-shell; } //
141+
{ required = hydra-required-job; };
142+
"x86_64-darwin" =
143+
{ ghc96 = project-variants-hydra-jobs.ghc96; } //
144+
{ devShells.default = non-profiled-shells.default; } //
145+
{ devShells.metatheory-jailbreak = metatheory-jailbreak-shell; } //
146+
{ required = hydra-required-job; };
147+
"aarch64-linux" =
148+
{ };
149+
"aarch64-darwin" =
150+
{ devShells.default = non-profiled-shells.default; } //
151+
{ devShells.metatheory-jailbreak = metatheory-jailbreak-shell; } //
152+
{ required = hydra-required-job; };
153+
};
154+
155+
flattened-ci-jobs = utils.flattenDerivationTree ":" small-nested-ci-jobs;
135156

136-
ciJobs = utils.flattenDerivationTree ":" nested-ci-jobs.${system};
157+
ciJobs = utils.flattenDerivationTree ":" small-nested-ci-jobs.${system};
137158

138159
checks = ciJobs;
139160

@@ -151,7 +172,8 @@ let
151172
inherit static-haskell-packages;
152173
inherit exposed-haskell-packages;
153174
inherit flattened-ci-jobs;
154-
inherit nested-ci-jobs;
175+
inherit full-nested-ci-jobs;
176+
inherit small-nested-ci-jobs;
155177
inherit metatheory;
156178
inherit project-coverage-report;
157179
};

0 commit comments

Comments
 (0)