summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-10-19 10:40:57 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-24 02:43:55 -0500
commit7c03cc5010999d0f0f9dfc549984023b3a1f2c8d (patch)
tree0df7906bef7c1e59009b08d854078f91e04192bc
parentf88f43398217a5f4c2d326555e21fb1417a21db2 (diff)
downloadhaskell-7c03cc5010999d0f0f9dfc549984023b3a1f2c8d.tar.gz
gitlab-ci: Run LLVM job on appropriately-labelled MRs
Namely, those marked with the ~"LLVM backend" label
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab514caacd..f8e1dc1f97 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -659,10 +659,11 @@ validate-x86_64-linux-deb9-debug:
when: always
expire_in: 2 week
-# Disabled to alleviate CI load
-.validate-x86_64-linux-deb9-llvm:
+validate-x86_64-linux-deb9-llvm:
extends: .build-x86_64-linux-deb9
stage: full-build
+ rules:
+ - if: '$CI_MERGE_REQUEST_LABELS =~ /.*LLVM backend.*/'
variables:
BUILD_FLAVOUR: perf-llvm
TEST_ENV: "x86_64-linux-deb9-llvm"