From patchwork Tue Oct 22 19:16:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 177213 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp5295696ill; Tue, 22 Oct 2019 12:20:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqweZr3e77OEGFvaa2CdU9PhxBFvXtiLsTCAy1OkjCmKkYBp7QLfJp8prb0jyf3Yl/8kZRvU X-Received: by 2002:a37:8044:: with SMTP id b65mr4699457qkd.142.1571772054864; Tue, 22 Oct 2019 12:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571772054; cv=none; d=google.com; s=arc-20160816; b=gFAXvjY37qQlRBwiX6E5Qc+sAygY/kbLzlt+4RoS2N+oPexKrC9FVcXSUWKwvmFWbR 2IzEi8+pYleBw/UVsd2QUVi0RLg9IXI/JQDIR6fbLHqxi/qCRM3V3j6yev8Ikw/mxkrf kVE+eJ2DCdZb84SCVgt4SQMX1ZcARorU0ApoVfMt2e+d17QYnhfJWy2oGc3MeZS0UAry VEPcgiAnm+GJf7wHdRoTRqsqBEaAPC4C042E5NesWYxidKgvj4xqcfSftSzn/wEq5A8z a18ByaBvrXlTdwrgDZGB+6U9JC3lSk5D+pjZprbx1vhZo1f5WuJiVRkTbMh6V7lr3Zf8 HG2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=To1y6osBAB74ZdPanXvzGu0hmS7AhXWKsdyOl06cDGM=; b=GCXlEeogOWubAXGqAbKl/5IojxCZu6PXBC6NxCD00Oerz3t4A3GNd+NAbGSCZJ6/cQ byUttf/uwLs4SsOLIv+hdYeDp4+M+j3kXDpNyP7fqoU2slw09H//HEO+F06WhrAkU2Da u+NfCRfEZ+WKeH/Dp8bgkVGChPTxkhrf9QaiXO6GrTv/5kdcNumVnLVSTRDWlwXVVY3y bb+mG5TUhVWAFQ0T4w3XOniep1EJiVrvg2PpdnLBW/z4Rs0YNB6KJo/IbLGU+VDzUqkT N8zhiiHcjEW6DtJ7zSzadEGAy6t0AuAlQundZsA1xxltHk+g3WKKLZzUaXr15gV4NEhJ KaKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FSB1IPeU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n12si5010809qvz.170.2019.10.22.12.20.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Oct 2019 12:20:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FSB1IPeU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzi9-0006Ts-Tx for patch@linaro.org; Tue, 22 Oct 2019 15:20:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36349) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMzef-0002Qc-JA for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMzee-0005LI-9a for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMzee-0005Fu-1j for qemu-devel@nongnu.org; Tue, 22 Oct 2019 15:17:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id q13so14346553wrs.12 for ; Tue, 22 Oct 2019 12:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=To1y6osBAB74ZdPanXvzGu0hmS7AhXWKsdyOl06cDGM=; b=FSB1IPeUqSMD7J1d3ONhrFn6KsuiP9WaIlBlDw+mn/MhvafRRcoblRV8MWfZi41Lei Oi7EfC1gdrzOc2FskvLhKqOOpmOSxXTKkmHWQnE/fPT+GCfzlAAyJZ6ubrQp40NAdJrT Kcm8ph+ZpjqH9cq8ofBWf8NQIeKdRC1cjq9PZXkbE5qzG3PUeDt7U1pLHLis4hs6CL/P JxCtoWgNAZWwbjk39FYbl15FJ/lpIKZB6P/VpJ3fGFTFlGvdKEeYywL85EKm9ieGwT1w gmWINCDuSfYnndZQbeKJ1lcab7QLLxuPjNsdBIugPBATzVA23NQEDPRqBlsx2H87y+2y PG2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=To1y6osBAB74ZdPanXvzGu0hmS7AhXWKsdyOl06cDGM=; b=by+D2qBWMiIU3IIcOUbbu9AFZ2b4jC1ThwOBKWwFn3ypbsfL0yy0SSdJ5kYBQVkh+3 /36X1qA8Wj8GLRAvKYxNKPzwX7Ce6x7FZm+JLYIBdApIj2KKeKh37r4SkMHdZOcti7Tt BHwwpt3L50x7UGGoVM5u8OyQQ+loccBMknqTwXyFBngUFFzsieZSRSmGMwRJL9DwXNz6 3WR5K+3LFVev1VzcIvBUoFXidBBR82uIt4MNQFW0IRekd/3SJkOzUh+52qq7reEXtav/ uWA/R1XM4NiOL6BjmdkWNAlc0TjkuuBwps3FeT1LsAsv89DCRPAYJJBvNs7wHZbwQiRX AyOg== X-Gm-Message-State: APjAAAV/T7xYrAck/4dqhYQpeQlmtRbGX9lSsZXsQUcTWUYgbuGgzfw1 TPp8yqlhNa5lENHPH4Ds9J0W2w== X-Received: by 2002:a5d:62c5:: with SMTP id o5mr986972wrv.388.1571771830970; Tue, 22 Oct 2019 12:17:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j19sm35467507wre.0.2019.10.22.12.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 12:17:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BD6341FF93; Tue, 22 Oct 2019 20:17:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 06/19] travis.yml: Test the release tarball Date: Tue, 22 Oct 2019 20:16:51 +0100 Message-Id: <20191022191704.6134-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191022191704.6134-1-alex.bennee@linaro.org> References: <20191022191704.6134-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Add a job to generate the release tarball and build/install few QEMU targets from it. Ideally we should build the 'efi' target from the 'roms' directory, but it is too time consuming. This job is only triggered when a tag starting with 'v' is pushed, which is the case with release candidate tags. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20191007160450.3619-1-philmd@redhat.com> Signed-off-by: Alex Bennée --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index 7e0d4ad2b31..f2b679fe701 100644 --- a/.travis.yml +++ b/.travis.yml @@ -343,3 +343,26 @@ matrix: - CONFIG="--target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" + + + # Release builds + # The make-release script expect a QEMU version, so our tag must start with a 'v'. + # This is the case when release candidate tags are created. + - if: tag IS present AND tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/ + env: + # We want to build from the release tarball + - BUILD_DIR="release/build/dir" SRC_DIR="../../.." + - BASE_CONFIG="--prefix=$PWD/dist" + - CONFIG="--target-list=x86_64-softmmu,aarch64-softmmu,armeb-linux-user,ppc-linux-user" + - TEST_CMD="make install -j3" + - QEMU_VERSION="${TRAVIS_TAG:1}" + - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" + before_script: + - command -v ccache && ccache --zero-stats + - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} + script: + - make -C ${SRC_DIR} qemu-${QEMU_VERSION}.tar.bz2 + - ls -l ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 + - tar -xf ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 && cd qemu-${QEMU_VERSION} + - ./configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } + - make install