[gjs/iwyu-job] fix



commit 7596dd78c0dffa2e5370d73a0f11d9ab055b52ed
Author: Philip Chimento <philip chimento gmail com>
Date:   Wed Jun 3 12:01:50 2020 -0700

    fix

 .gitlab-ci.yml    | 2 +-
 tools/run_iwyu.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22d228c5..b34b6d97 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,7 +193,7 @@ iwyu:
   stage: source_check
   image: registry.gitlab.gnome.org/ptomato/gjs:fedora.mozjs68-debug
   script:
-    - ./tools/run_iwyu.sh master
+    - ./tools/run_iwyu.sh origin/master
   only:
     - branches
     - merge_requests
diff --git a/tools/run_iwyu.sh b/tools/run_iwyu.sh
index e718f31d..6c070ff5 100755
--- a/tools/run_iwyu.sh
+++ b/tools/run_iwyu.sh
@@ -37,7 +37,7 @@ if ! meson setup _build; then
 fi
 cd ${BUILDDIR:-_build}
 
-IWYU="iwyu_tool -p ."
+IWYU="python3 $(which iwyu_tool) -p ."
 PRIVATE_MAPPING="-Xiwyu --mapping_file=$SRCDIR/tools/gjs-private-iwyu.imp -Xiwyu --keep=config.h"
 PUBLIC_MAPPING="-Xiwyu --mapping_file=$SRCDIR/tools/gjs-public-iwyu.imp"
 POSTPROCESS="python3 $SRCDIR/tools/process_iwyu.py"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]