From patchwork Thu Feb 23 15:57:20 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: 655988 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp410313wrb; Thu, 23 Feb 2023 08:01:10 -0800 (PST) X-Google-Smtp-Source: AK7set97/7t1KbUDziEPQM6wW8ZOzONGwaTQXFHZpWqqXVQc4WWDASnbIDy76s9jxWHeFxB7Dwuj X-Received: by 2002:a7b:ce96:0:b0:3da:2a78:d7a4 with SMTP id q22-20020a7bce96000000b003da2a78d7a4mr9595526wmj.21.1677168070444; Thu, 23 Feb 2023 08:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677168070; cv=none; d=google.com; s=arc-20160816; b=uWb0E9TNR/sgIlgNna9USzdDxJ5szyH0sOihp2mdLzge9OzsjO4jrbV9qZLANGkmfj gr+KfCTciekV7jcVEp+KtjznaGQAL3wqIDQti98wCGPThoA4o9arw3Gd8W2VjgkHL+KJ PhnBZ2VWmi5vCaN0WifEaBcWwBBz5SLeKGOTK9UFXbrKRd6XfsOBcX7lhQngPxucREXw eMuAcySVHPNMjBlwUV2WwNPz019LeGfnQwB3mVK7ryxxiQ5UioNc9mDsEZmK4d5vAFnV kjD0xwTvSBb7Sg3a03vVVBdEvqtEy9aIkn0w97NDdtasK3id7jwX0pERvN3piOJiJ+mV d//Q== 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=5fsqVCJzyU8Zu1hd7YxbL1fFqIKEFqPvKFe+eNwWlZU=; b=T9qQEgl3s2z7BN6jSyoNwLJqkPA2Cawf185xZ0Db2BxzI3B1Z0ItbHrb/36LOluq38 f4aqfPqdMZj2zkamwTrZhwrUSRD8mY3UR1fECXsKtPfH2hnE1FJs2jj0pJehH8AOElTK StqqQx0W99XEpbybTsJ0JwIhgmFM5pdZty6Igd9qEct/SjRRsYtOga/o5CjAcc7ikiqu njGnil5FoKgOpQYS5Cl+y+GWsirBf8ZJCmP9V2C21QH7CT6160FIrgbgedWKcXvXvNzJ KixYyLKUF9gATWeq9B9Xd5vhD1h26LSvtyNawWApZaaPiAy5IyY1bBioPSegt9A9vZ8q FnIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TuzNjlHT; 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 u17-20020a05600c19d100b003dff7adac19si2243833wmq.103.2023.02.23.08.01.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Feb 2023 08:01:10 -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=TuzNjlHT; 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 1pVDyV-0000o4-Nn; Thu, 23 Feb 2023 10:57:39 -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 1pVDyN-0000KH-Qy for qemu-devel@nongnu.org; Thu, 23 Feb 2023 10:57:31 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVDyK-0004ko-TG for qemu-devel@nongnu.org; Thu, 23 Feb 2023 10:57:31 -0500 Received: by mail-wm1-x333.google.com with SMTP id p26so9309847wmc.4 for ; Thu, 23 Feb 2023 07:57:28 -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=5fsqVCJzyU8Zu1hd7YxbL1fFqIKEFqPvKFe+eNwWlZU=; b=TuzNjlHTo4iHXdy8b6ZGBS/QLQ2jiJ5abHiIR+5u+4YqAWJ+d6fQkrcbRCraDA/g7a NIrJPgzq5PxElX1Rg7gl73vS6C7Vvj/JUrrhtDX55FxYbVLE6uP14MVUHvRHy4ruacA9 RAzdfbzT0T+23gLeqoJISqAFIJtNiwosKmTMH7yNaWS33fQBK34UymgQEAYXlOJd4S0a DIYkcbZ0T7m4P5yllyXzbxFfzL9ffoGRZhnXSy2O+LLsQ6c1N0IbTz/C9dzSemct/X78 foUaE+WnW51lWVXPr4z3OpuOctM2hQcxSRDntKRpVWGLpNkRCsxS9Paa85BsZqND2T56 oVmA== 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=5fsqVCJzyU8Zu1hd7YxbL1fFqIKEFqPvKFe+eNwWlZU=; b=rBQ8l4VBVfE8p1snG+pQMzaJZ0kaQLQZj31t/7w6zn5/KfkJNJH0enEJDqpbpoZ5Ki KevEjxNBT0CHPSUCmpPPbQtbafQrqRZM53YmRzcrI65dlObX7CY3XK9rIqckbEkbsuSs EGoNTE9AKSn48vsDT4a5Eo+ywU5IxdlOdLwMG0sKK/mH+//GvePaWBSJyQa4m1bjEtBF ARvgR6l49jm2GjJc9P9EYHrKrwftDKxQDGghfgRt/NI2EgkeiLsQ1DOXa0KfLaBDj9l+ SmO05FQLC8tnQf60O5ja2SMIGllGnADNYdrccXnUXBPCJXcWxMoe1ZQ3PqGPituYf6+r wt9w== X-Gm-Message-State: AO0yUKWPlKzT51MBhnM7ld1izTqDZEpZcqgyrfxJNRer+sodfjhrkIn0 I93nO6CSBZuOF2g/IsgZY5F+nBtMzZwt1U2Z X-Received: by 2002:a05:600c:2cd8:b0:3ea:d610:f062 with SMTP id l24-20020a05600c2cd800b003ead610f062mr645127wmc.30.1677167847116; Thu, 23 Feb 2023 07:57:27 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id q6-20020a05600c46c600b003dc47d458cdsm12930248wmo.15.2023.02.23.07.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 07:57:26 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1F8521FFBA; Thu, 23 Feb 2023 15:57:22 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Thomas Huth , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Yonggang Luo Subject: [PULL 13/13] cirrus.yml: Improve the windows_msys2_task Date: Thu, 23 Feb 2023 15:57:20 +0000 Message-Id: <20230223155720.310593-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223155720.310593-1-alex.bennee@linaro.org> References: <20230223155720.310593-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.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=ham 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é Message-Id: <20230221094558.2864616-15-alex.bennee@linaro.org> 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"