summaryrefslogtreecommitdiff
path: root/.gitlab/gen_ci.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-01-25 19:46:18 -0500
committerBen Gamari <ben@smart-cactus.org>2023-01-19 14:21:31 -0500
commit6d35b379c45fa83d8ce6b9d04a98275e86ab5b8b (patch)
tree3ab0afdeb091f03b9322930d3b1e54c2dd485d50 /.gitlab/gen_ci.hs
parent5291db8ff40e38d67aec05092bc826251e7a5c08 (diff)
downloadhaskell-wip/perf-ci.tar.gz
gitlab-ci: Hack it inwip/perf-ci
Diffstat (limited to '.gitlab/gen_ci.hs')
-rwxr-xr-x.gitlab/gen_ci.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/gen_ci.hs b/.gitlab/gen_ci.hs
index 95458e097c..bd5baf7bbf 100755
--- a/.gitlab/gen_ci.hs
+++ b/.gitlab/gen_ci.hs
@@ -141,6 +141,7 @@ data BuildConfig
, tablesNextToCode :: Bool
, threadSanitiser :: Bool
, noSplitSections :: Bool
+ , testsuiteUsePerf :: Bool
}
-- Extra arguments to pass to ./configure due to the BuildConfig
@@ -188,6 +189,7 @@ vanilla = BuildConfig
, tablesNextToCode = True
, threadSanitiser = False
, noSplitSections = False
+ , testsuiteUsePerf = False
}
splitSectionsBroken :: BuildConfig -> BuildConfig
@@ -663,6 +665,7 @@ job arch opsys buildConfig = NamedJob { name = jobName, jobInfo = Job {..} }
Emulator s -> "CROSS_EMULATOR" =: s
NoEmulatorNeeded -> mempty
, if withNuma buildConfig then "ENABLE_NUMA" =: "1" else mempty
+ , if testsuiteUsePerf buildConfig then "RUNTEST_ARGS" =: "--config perf_path=perf" else mempty
]
jobArtifacts = Artifacts