From patchwork Thu Oct 24 10:22:29 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: 177416 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2069648ill; Thu, 24 Oct 2019 04:47:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnskPZRfym37eviw6iwyBSK2oVK9zMSOPfx3hYFLm7Y/KqBTFveK1TpFbKMbO5akC+1dFF X-Received: by 2002:a05:620a:12d1:: with SMTP id e17mr549172qkl.329.1571917631326; Thu, 24 Oct 2019 04:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571917631; cv=none; d=google.com; s=arc-20160816; b=rE88PGQNyDk404Htx90BtDq9sfnzHJktgaGd3JyOwC8UKNjzNd6YfXPyy/nF9K/fiC GsZQW+e3eUuXUyUOr+iuKEfYlUe9EhSuXeEWZVuIn8Smv56gNxzBQHlW3gjDiR6EuZpF bzb3wMfUArKOvHz7GSIpl6DywkEGF4DoMJcY61K2FY4uk0hIxyYbWy7xwKv8EavLuDsg uC42TGnMtdsD6eoKM/aPbBWfC+QtiIYzDv9XBy5YVCq5eVpVnL9ntSdDbJ7vMwohqZvd TKgmXmgnGo69ECqPYMCLojnSegKz1Bq3LvlpY9U1NVLBi8LGddCO3i6PjhHkBtrW5Wkj j1DQ== 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=LkHX5QrFI2rFyRrlfz9st+k73u/uz6/yco90vYlpEh+Fvz/SmtrUFDzwFiqeBi5cnB jFQya8+q10zFnrAd53zj1wRcJRoqwpcp46/LMCTe/yT3gs03xwLvb1KY3dVmPj0jY5a5 4pHBjM1bxtp+DMhs/+af0cwXxie6EwDqdWQed0eOy8RJBx++6GQMUlmHcIznnVBBshEf qmTHj9pk9vkdnKQ7KRIFu4heStgLno3hpfqRBbeNrsXq4vEK1vHvDmvwbSABt3oxeZb6 /LujLgvdfMPv1HVGOr3Rss9Ypef/KIPAdPBRnJwvHlt+FphOMEWG5866wOWqnxNoPjIz Ch+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aA8bhEtj; 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 x23si11496740qtb.198.2019.10.24.04.47.11 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Oct 2019 04:47:11 -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=aA8bhEtj; 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]:40262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNbaA-0000rQ-DX for patch@linaro.org; Thu, 24 Oct 2019 07:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53968) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNaGY-0002AN-Gf for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNaGW-00045m-BC for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:50 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:33705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNaGW-00045D-4o for qemu-devel@nongnu.org; Thu, 24 Oct 2019 06:22:48 -0400 Received: by mail-wr1-x444.google.com with SMTP id s1so16670546wro.0 for ; Thu, 24 Oct 2019 03:22:48 -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=aA8bhEtjrDcmWFgVQMq5HMDOBRpV3DEJO/pOlvSX0VFp/Lnqs4Bx1u06x2BVEG37fD 0Zw4fORCBtun7I8V8gPSkGEPVAAIvtxxzo/nO0UpNFygjo2gXVZhva3/9etLW9krG+QY LaicMqeVTscNDfMx2/+m0xr3+vu12Woawbeg6XCY4XLUF27iBIO1tTxrY6fI9E8dkPw+ n7hpjj47fjcIIpt454qoRII/EaoarNTgC7UlZXy65rmBCJDCywwABab+lwdece9h7v2p 161pw59/p5NOTZrOeHshJtkn+lDUdr3P925Tmct7ralWBGb+Kq1mY6BU2rBvGSvZ2yAT AvpA== 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=eQVifnE803FNslmMkF3CW7+P42FldqfL7odXmOHJIdnsNe1SVN2PYMgSrFEaYxh0Lk 7uOGJ0FUlG8akthqgZCmUYZFeJ/xJGe7qgmRiD9lSV8pQiKUkFYBQQ+1j+nzppYabE5m Y5viUDfWTmHxGCAQQDAKXf8oKbOiT+cfEkXW9byS8KcMOtkrdJKMTtW04hj8X6ypZHjt 5zn1zDpNk97s0kW7b13tfbpX+8t8LoXChTCD7KecFu+fR3LHFa/bhUBh8aC3BIevNbiQ WznbQMpT7QDtQ473kDIHEX8ZDSzwpytlJTEl1u4EwUVtm2KwFsHD4ZBXfEAp8lBRGkfw QlJQ== X-Gm-Message-State: APjAAAWWsZjHBFZqX3fxCVOT7roIGpGY8cdMXyMBQeTLw/8b9k+YWdXJ 2jm5GpIkMa08dn4q3Xk4f6qyGQ== X-Received: by 2002:adf:f192:: with SMTP id h18mr3331237wro.148.1571912567017; Thu, 24 Oct 2019 03:22:47 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q6sm4845037wrx.30.2019.10.24.03.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 03:22:45 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D5EAE1FF93; Thu, 24 Oct 2019 11:22:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 06/17] travis.yml: Test the release tarball Date: Thu, 24 Oct 2019 11:22:29 +0100 Message-Id: <20191024102240.2778-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024102240.2778-1-alex.bennee@linaro.org> References: <20191024102240.2778-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