[gjs/iwyu-job: 1/2] CI: Add iwyu jobs
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/iwyu-job: 1/2] CI: Add iwyu jobs
- Date: Wed, 3 Jun 2020 23:00:03 +0000 (UTC)
commit f3692ec30860aeccbd63a26cf03605de26dac061
Author: Philip Chimento <philip chimento gmail com>
Date: Wed Jun 3 14:30:12 2020 -0700
CI: Add iwyu jobs
This adds an 'iwyu' job that runs only on the changed files, hopefully
quickly, when pushing a branch or creating a merge request. There is
also an 'iwyu-full' job that runs on all files, and takes 5 to 10
minutes, so is only run when manually triggered.
.gitlab-ci.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0732f6e..aeaffd03 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -188,6 +188,17 @@ eslint:
- .eslintrc.yml
- '**/.eslintrc.yml'
+iwyu:
+ when: on_success
+ stage: source_check
+ image: registry.gitlab.gnome.org/GNOME/gjs:fedora.mozjs68-debug
+ script:
+ - ./tools/run_iwyu.sh origin/master
+ only:
+ - branches
+ except:
+ - /^gnome-\d+-\d+$/
+
#############################################
# Manual Jobs #
#############################################
@@ -199,6 +210,13 @@ coverage:
except:
- schedules
+iwyu-full:
+ when: manual
+ stage: manual
+ image: registry.gitlab.gnome.org/GNOME/gjs:fedora.mozjs68-debug
+ script:
+ - ./tools/run_iwyu.sh
+
sanitizer_clang:
<<: *build
stage: manual
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]