[SCM] ci-tooling packaging branch, master, updated. 4a6786b4c552a12991cea2ef220879d7bace8e5a

Rohan Garg rohangarg-guest at moszumanska.debian.org
Tue Mar 17 17:05:38 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=4a6786b

The following commit has been merged in the master branch:
commit 4a6786b4c552a12991cea2ef220879d7bace8e5a
Author: Rohan Garg <rohan at garg.io>
Date:   Tue Mar 17 18:05:14 2015 +0100

    Don't run certain checks when building for !amd64
---
 dci/build.rb | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/dci/build.rb b/dci/build.rb
index 9e5754d..1996a68 100644
--- a/dci/build.rb
+++ b/dci/build.rb
@@ -99,8 +99,10 @@ else
 
         logger.info('Start building the package')
         system("dpkg-buildpackage -j`nproc` #{dpkg_buildopts.join(' ')}")
-        system('dh_install --fail-missing')
-        logger.error('Not all files have been installed!') unless $?.success?
+        if RbConfig::CONFIG['host_cpu'] == 'x86_64'
+          system('dh_install --fail-missing')
+          logger.error('Not all files have been installed!') unless $?.success?
+        end
       end
       FileUtils.mkdir_p(RESULT_DIR) unless Dir.exist? RESULT_DIR
       changes_files = Dir.glob('*changes').select { |changes| !changes.end_with? '_source.changes' }
@@ -113,9 +115,11 @@ else
         logger.info('Running lintian checks ...')
 
         # Lintian checks
-        system("lintian -iI --pedantic --show-overrides --color auto #{changes_file}")
-        logger.warn('Lintian check failed!') unless $?.success?
-        logger.info('Finished running lintian checks')
+        if RbConfig::CONFIG['host_cpu'] == 'x86_64'
+          system("lintian -iI --pedantic --show-overrides --color auto #{changes_file}")
+          logger.warn('Lintian check failed!') unless $?.success?
+          logger.info('Finished running lintian checks')
+        end
 
         # Content of debs
         logger.info('Contents of debs')

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list