Received: from eggs.gnu.org ([209.51.188.92]:46999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqdsq-0005r9-0v for qemu-devel@nongnu.org; Mon, 04 Feb 2019 08:01:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqdsk-0001tM-2q for qemu-devel@nongnu.org; Mon, 04 Feb 2019 08:01:55 -0500 Received: from mail-wr1-f42.google.com ([209.85.221.42]:40307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqdsh-0001kT-5V for qemu-devel@nongnu.org; Mon, 04 Feb 2019 08:01:49 -0500 Received: by mail-wr1-f42.google.com with SMTP id p4so14274530wrt.7 for ; Mon, 04 Feb 2019 05:01:39 -0800 (PST) References: <20190201171229.3361-1-alex.bennee@linaro.org> <3792ad53-69e1-e45e-1f0f-406288af0912@redhat.com> <87pns74smb.fsf@zen.linaroharston> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Mon, 4 Feb 2019 14:01:36 +0100 MIME-Version: 1.0 In-Reply-To: <87pns74smb.fsf@zen.linaroharston> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] .travis.yml: separate tools and docs into another entry List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, Fam Zheng On 2/4/19 1:59 PM, Alex Bennée wrote: > Philippe Mathieu-Daudé writes: >> On 2/1/19 6:12 PM, Alex Bennée wrote: >>> Re-building the tools and documents by default is a little wasteful as >>> they are not really affected by the main build options. Split tools >>> and documents into their own task with a minimal softmmu and >>> linux-user target list just to check they don't interact badly. >>> >>> Signed-off-by: Alex Bennée >>> --- >>> .travis.yml | 14 ++++++++++++-- >>> 1 file changed, 12 insertions(+), 2 deletions(-) >>> >>> diff --git a/.travis.yml b/.travis.yml >>> index 87d9fa971c..1c8effcf63 100644 >>> --- a/.travis.yml >>> +++ b/.travis.yml >>> @@ -61,6 +61,7 @@ env: >>> global: >>> - SRC_DIR="." >>> - BUILD_DIR="." >>> + - BASE_CONFIG="--disable-docs --disable-tools" >>> - TEST_CMD="make check -j3 V=1" >>> >>> >>> @@ -71,7 +72,7 @@ git: >>> >>> before_script: >>> - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} >>> - - ${SRC_DIR}/configure ${CONFIG} || { cat config.log && exit 1; } >>> + - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } >>> script: >>> - make -j3 && ${TEST_CMD} >>> >>> @@ -106,6 +107,15 @@ matrix: >>> - CONFIG="--with-coroutine=sigaltstack --disable-linux-user" >>> >>> >>> + # Check we can build docs and tools >>> + - env: >>> + - BASE_CONFIG="" >> >> What about using explicit configure options? >> >> BASE_CONFIG="--enable-docs --enable-tools" > > Will add for clarity (although not effect ;-) The effect will be in 10 months when I'll look at this again :P Thanks! >> >> Regardless: >> Reviewed-by: Philippe Mathieu-Daudé >> >>> + - CONFIG="--target-list=x86_64-softmmu,aarch64-linux-user" >>> + addons: >>> + apt: >>> + packages: >>> + - python-sphinx >>> + >>> # Test out-of-tree builds >>> - env: >>> - CONFIG="--enable-debug --enable-debug-tcg" >>> @@ -243,5 +253,5 @@ matrix: >>> >>> >>> - env: >>> - - CONFIG="--disable-system --disable-docs" >>> + - CONFIG="--disable-system" >>> - TEST_CMD="make -j3 check-tcg V=1" >>> > > > -- > Alex Bennée >