Magnus pushed to branch wip/mangoiv/ci-stages at Glasgow Haskell Compiler / GHC Commits: a3b7c581 by mangoiv at 2026-08-07T16:19:50+02:00 fixup! ci: build and test stage - - - - - 2 changed files: - .gitlab/generate-ci/gen_ci.hs - .gitlab/jobs.yaml Changes: ===================================== .gitlab/generate-ci/gen_ci.hs ===================================== @@ -1032,24 +1032,24 @@ releaseRule = setJobRule ReleaseOnly -- | Make a normal nightly CI job nightly :: Arch -> Opsys -> BuildConfig -> BuildAndTestJob Job nightly arch opsys bc = - let MkBuildAndTestJob {buildJob, testJobs} = job arch opsys bc - mkJob (NamedJob n j) - = NamedJob { name = "nightly-" ++ n + let MkBuildAndTestJob {buildJob, testJobs} = job arch opsys bc { extendName = Just "nightly" } + mkJob NamedJob {name, jobInfo} + = NamedJob { name , jobInfo = nightlyRule . keepArtifacts "8 weeks" - . highCompression $ j + . highCompression $ jobInfo } in MkBuildAndTestJob { buildJob = mkJob buildJob, testJobs = map mkJob testJobs} -- | Make a normal release CI job release :: Arch -> Opsys -> BuildConfig -> BuildAndTestJob Job release arch opsys bc = - let MkBuildAndTestJob {buildJob, testJobs} = job arch opsys (bc { buildFlavour = Release }) - mkJob (NamedJob n j) = NamedJob { name = "release-" ++ n + let MkBuildAndTestJob {buildJob, testJobs} = job arch opsys (bc { buildFlavour = Release, extendName = Just "release" }) + mkJob NamedJob {name, jobInfo} = NamedJob { name , jobInfo = releaseRule . keepArtifacts "1 year" . ignorePerfFailures - . highCompression $ j + . highCompression $ jobInfo } in MkBuildAndTestJob {buildJob = mkJob buildJob, testJobs = map mkJob testJobs} --------------------------------------------------------------------- ===================================== .gitlab/jobs.yaml ===================================== The diff for this file was not included because it is too large. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3b7c581b9012a3e464770723211e4f3... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3b7c581b9012a3e464770723211e4f3... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help