From patchwork Wed Feb 15 19:25:29 2023 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: 653747 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp525249wrr; Wed, 15 Feb 2023 11:28:19 -0800 (PST) X-Google-Smtp-Source: AK7set9Stcaw9r2ruy71opvR6N6ay37iG9pu3cJiK65xv+kOClZFa14OUvnG8Z30pWLTEbhq0N95 X-Received: by 2002:ad4:5c85:0:b0:56e:b7a4:be56 with SMTP id o5-20020ad45c85000000b0056eb7a4be56mr7563283qvh.26.1676489299368; Wed, 15 Feb 2023 11:28:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676489299; cv=none; d=google.com; s=arc-20160816; b=zTQ/HcHru8E6YOBA/Nm+UTJW5DLVqWXcDFW6wxGGS3DkRWpHj4qMaMEI80ls848kwf pMXO5bqOMb7tAajnAsHFWf6pG0YpQ6FCKE7gywPqtPrAm01NlsB6WpwT6XL0it731aRo Mtx527aG1lmq5NFs5zDiYKMrrR5vaRbagak7pA/S9qNwW47ls9LqfHJomLlLt+J/43jl 5V6im4YMzY5PCuqaTZ5qeJgzd0HFm7cVCxPfGlRuMdwSkVlypNtTGfX9Wi7yvfz88YG9 BomkDTxM6XNvkVsxezzjOLpfybeH+4YF53R3uUInt7VBY/eiu3HiGe9SGRsWvMY4FV/O HFAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=RPAcXxshM3oIDV7Nd8qDMhK+ewSzYoeyH2TxIrPviEw=; b=U/ridPf0Ehw+clZma1ANAjnDachFcztAjEvN0DjYBjMvvA6kNrqglEBz30ncemzpCo vgHsE6VmKv06YjgEVaRTrT9xxEVCGI238pe1HAAyavFXe2vvygERDwYNHCtl8uHrkJxy YxjlXZEqun5xdr5xbhG6rqKPt8u2MWGFuiYOzQjqOU2cJzcqPvzTvSR81DXdmuPbwNO6 qi9tMdXp0gLDTQ8klF/y5TpocSzD2HOhedvySNOsoOljB1fIwQcTgtjnvhGZVEPM7Rvw 7vw7bror9U3GOb/mRs8xeXSIQGQsvJqF0iNHmGIDs/9qiPKXx2rMkvvqNAlJbY6iU7WV fm9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JJEZaLcg; 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=pass (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 z14-20020a0cf00e000000b0056c5a40a63csi4840152qvk.567.2023.02.15.11.28.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Feb 2023 11:28:19 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=JJEZaLcg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSNPi-0007BF-GH; Wed, 15 Feb 2023 14:25:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSNPR-0006k0-0l for qemu-devel@nongnu.org; Wed, 15 Feb 2023 14:25:41 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSNPO-0001iF-Vz for qemu-devel@nongnu.org; Wed, 15 Feb 2023 14:25:40 -0500 Received: by mail-wr1-x42e.google.com with SMTP id s13so2522415wrw.3 for ; Wed, 15 Feb 2023 11:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RPAcXxshM3oIDV7Nd8qDMhK+ewSzYoeyH2TxIrPviEw=; b=JJEZaLcg9Dpi7T3f8dimDzVETCGPAs39sMlRf4mjIzonw0SsNVBe38b/ux0XlVoaIv KYp6A5YIfwrFNEpS9TE8qX4dO7Pof2estZODjgM3xF27bTISr36Gx0Sgo9EwZsGEX524 5Y4ZxboclN6azXvMnS8Akl7x0F2xodHIhjRQPc/F11/qk3lkcJhhmD+S5iHek7HmAval q0BzAGXc/rUfI737QFGoWPfnIij+bEsRudzgLZ+XwbDXVdaEvoqwgiz0ERVBlJnX2fJ+ mGnA5QT3VE2sWtr16pzYBdAfk7pVNJxw6m+DhZRpo3k2iXjYyz8d4NldXkKnbMEny8H/ 80TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RPAcXxshM3oIDV7Nd8qDMhK+ewSzYoeyH2TxIrPviEw=; b=qkS43Gpz4v5D6arTMbDApCiGu5CtCfWD5+2PayvlFsgqILco/al0gqeDW645qsu6VH dBWX+H2gY0H08xSMkmaOaWMy/zPGkLxVUzqiRV1no1+ujPhhd+TGo3gVwWqZGQ1ERAeg DPpByO0T+ywgFVWxCXl7eR8r78I8NkfKfOaT8E++lGfochWZGlYdraLuDgZCp6w1vsOy Ucnq0H1W2TRJR5CSc45t0fC5vfR54eZ3ntQ2rxLcN+AqHXSwbAEUAhP+oZJNzkSInjC5 hEdjlbef8B0kBrMKCBiZYzWekZsGQstW4RjauRWQkoujF+S01Itr3f3Qz0/T97YTTyzW eaXw== X-Gm-Message-State: AO0yUKUbiKLyKOvJsKcQZB5ghnYeCV4+WfbTf2bhVMTf/F0CJxYD5wfG wV2ioVJYCUCohku0x4prlTyWHQ== X-Received: by 2002:adf:eece:0:b0:2c5:561e:80a0 with SMTP id a14-20020adfeece000000b002c5561e80a0mr2183799wrp.45.1676489136333; Wed, 15 Feb 2023 11:25:36 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id b4-20020a5d4b84000000b002c55b0e6ef1sm7193127wrt.4.2023.02.15.11.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 11:25:35 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D34D61FFC1; Wed, 15 Feb 2023 19:25:31 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Michael Roth , Alexander Bulekov , Qiuhao Li , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Markus Armbruster , Paolo Bonzini , qemu-arm@nongnu.org, John Snow , Pavel Dovgalyuk , Darren Kenny , =?utf-8?q?Alex_Benn=C3=A9e?= , Stefan Hajnoczi , Bandan Das , Cleber Rosa , Peter Maydell , Bastian Koppelmann , Yonggang Luo , Li-Wen Hsu , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Thomas Huth , Beraldo Leal , Ed Maste , Wainer dos Santos Moschetta Subject: [PATCH 11/12] cirrus.yml: Improve the windows_msys2_task Date: Wed, 15 Feb 2023 19:25:29 +0000 Message-Id: <20230215192530.299263-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215192530.299263-1-alex.bennee@linaro.org> References: <20230215192530.299263-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Thomas Huth There's no need to run a full-blown bash just to create a directory. And we can skip the "cd build" each time by doing it once at the beginning. Additionally, let's exclude some targets (that we already compile-test with MinGW in the gitlab jobs) from the build, since the build time of this task is very long already (between 80 and 90 minutes). Signed-off-by: Thomas Huth Message-Id: <20230208103046.618154-1-thuth@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- .cirrus.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4895987da4..5fb00da73d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -100,9 +100,11 @@ windows_msys2_task: tar xf C:\tools\archive\msys64.tar Write-Output "Extract msys2 time taken: $((Get-Date).Subtract($start_time))" script: - - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build" - - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3" - - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8" + - mkdir build + - cd build + - C:\tools\msys64\usr\bin\bash.exe -lc "../configure --python=python3 + --target-list-exclude=i386-softmmu,ppc64-softmmu,aarch64-softmmu,mips64-softmmu,mipsel-softmmu,sh4-softmmu" + - C:\tools\msys64\usr\bin\bash.exe -lc "make -j8" - exit $LastExitCode test_script: - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check"