From nobody Fri Apr 26 13:59:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1592582277; cv=none; d=zohomail.com; s=zohoarc; b=HW7SZ3eDbcX+cjNsnxd/cle9eEQBM1BvY+BUGVxpY/siMaaAax1TjN9HF0Z9R6IIf9LbIOjv2fNWlxIIS6q4Y+q71shxn7wvutDoMtDm1OApqRLAwjw2EEPln1SjoA6uPWBOCjR1n1XPAAjsCU4bdYNiA87Elmun04m3HOYeXIQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592582277; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=1Ii0J7cEEmwN2ZsSrSP9Tiju9rnF3RGr0OvBQVHb/d0=; b=kIoih9N4dXu7+ohNa+meNSzkiAEJ97+ilE8uSSSTqqB3qN0MFoOBykPS3U0i25qTBKHmtvQdBuNRhnJCP7w06b04Ono3+IFKhjwxEOJSetjV1pA+yxGb425xeF0vITcxVfkhYirplxjJrh5A7f0sOHu6zktHs1BmoWrx/Hi6yQE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1592582277661571.8080490415816; Fri, 19 Jun 2020 08:57:57 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-290-sy6ZjZkANtWHs_FPiS2KXw-1; Fri, 19 Jun 2020 11:57:17 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0F2A4100CCC5; Fri, 19 Jun 2020 15:57:12 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 44A595BAD6; Fri, 19 Jun 2020 15:57:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B7D76833A3; Fri, 19 Jun 2020 15:57:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 05JFv75v022752 for ; Fri, 19 Jun 2020 11:57:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id 08E965C221; Fri, 19 Jun 2020 15:57:07 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.36.110.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7EE05C1D0; Fri, 19 Jun 2020 15:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592582276; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=1Ii0J7cEEmwN2ZsSrSP9Tiju9rnF3RGr0OvBQVHb/d0=; b=OWiEDReYYOmzR70P2tsHJES7FQT+uIXxu/uBMc++e7NusBpZhl1Df+eseyrS3Cuy34eP5H In5tSTgyb3mEcE1NZLgXkV9/BH+JP4uw40UAinEfxy7kKDO3MMmnv4KVHcfGq2Sy9iehwg ho9pLyQ94KhJPvk2mE91q9ZaD7E56Ts= X-MC-Unique: sy6ZjZkANtWHs_FPiS2KXw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] gitlab: test RPM build in CI jobs Date: Fri, 19 Jun 2020 16:57:01 +0100 Message-Id: <20200619155701.733497-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) We need to test the native and mingw RPM builds, but since the mingw RPM does both arches at once, we only need to test it on one of the two mingw jobs. Signed-off-by: Daniel P. Berrang=C3=A9 --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfb66a652d..e5babfeba2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,6 +63,7 @@ stages: - cd build - ../autogen.sh || (cat config.log && exit 1) - $MAKE distcheck + - if test -x /usr/bin/rpmbuild && test "$RPM" !=3D "skip" ; then rpmbu= ild --nodeps -ta libvirt*.tar.xz ; fi =20 # Extra native build jobs that are only run post-merge, or # when code is pushed to a branch with "ci-full-" name prefix @@ -111,6 +112,8 @@ stages: - cd build - ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1) - $MAKE + - if test -x /usr/bin/rpmbuild && "$RPM" !=3D "skip"; then $MAKE dist = ; fi + - if test -x /usr/bin/rpmbuild && "$RPM" !=3D "skip"; then rpmbuild --= nodeps -ta --define "_sourcedir `pwd`" mingw-libvirt.spec ; fi =20 # Extra cross build jobs that are only run post-merge, or # when code is pushed to a branch with "ci-full-" name prefix @@ -378,6 +381,7 @@ x64-opensuse-151: <<: *native_build_default_job_definition variables: NAME: opensuse-151 + RPM: skip =20 x64-ubuntu-1804: <<: *native_build_extra_job_definition @@ -461,6 +465,7 @@ mingw32-fedora-rawhide: variables: NAME: fedora-rawhide CROSS: mingw32 + RPM: skip =20 mingw64-fedora-rawhide: <<: *cross_build_default_job_definition --=20 2.26.2