From patchwork Wed Mar 1 15:15:53 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: 657817 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3548323wrb; Wed, 1 Mar 2023 07:25:13 -0800 (PST) X-Google-Smtp-Source: AK7set/jQIh1r1wVnLdcAlPa09DRybMmcqrnIyOWRDAqayWVlHqwhqe0/k+tTqB+jLHyREDKtQyg X-Received: by 2002:ac8:5c04:0:b0:3b9:b70c:9697 with SMTP id i4-20020ac85c04000000b003b9b70c9697mr11518219qti.5.1677684313563; Wed, 01 Mar 2023 07:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677684313; cv=none; d=google.com; s=arc-20160816; b=udfET2z5wMcmx0SEEhG9m/H3nK9y8ZYXmWGA/t6iQukZBPDWuHGTmJn33zUH3aIqj5 ZRLbIdO/jDndiuAeVjURg3Md8XauWzYXaXAMtCL3GjmMZNFlIqas0BpiGbL8nAFSv/qE I24Q9Ccnqp5zprilEZgtywjA5/Nes+9+vxlP4mAj9uadX8k/uRty0WxjKZg0zcC7bWYD qgH/OkjyUmw2yrg9jPcIJzAeKMWDTm7WkrnRHPiSSAnQPr9ygy2I0WFiiYm0tBSwfCZD bfC7GV0XfQjhfdzUufZ4KTJNcMa2ObcloLSI7yvcX+/SP1x75rNM1AzxKTb9cq0NRqUH jEsg== 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=D9u8cdGfNTD+ql08VoEjefNIwphTAu8BlNDQo2Kgmc8=; b=JQLB4f3zQFfrJUALNjW7bHrI4DCbuFFqqdPCOchsgmFtGY5PTPXgdz8mgah+Wvk7v0 pD4B0wsZpD1DA/r+5mrUSUiNbbUU7QLD3dD2bjV7VpMC5RPHxs3OVTmrA5MZPwj3bUJX ampBwe5qWw6QehXu4PHJRjT4VdjNswZj977pnRYGCIn/UVS7OKz7ujMqJnprYkqft9YB CSemHKbYsMzIJQoVR4IUv6e+Jywz3stoF096eKqUA+PS81NPAzMXy9A4YMLEVf5H2vbK n4od52I2YlzgnTn28++Rn4RomtW1vwSFvkfGSr9InHBQFvUPjEY2/h1SUjZ0F3MGmoyB d75g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iTjOYwk+; 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 e21-20020ac84e55000000b003bfa1b1f9b8si11282917qtw.72.2023.03.01.07.25.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Mar 2023 07:25:13 -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=iTjOYwk+; 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 1pXOJp-0000jP-9K; Wed, 01 Mar 2023 10:24:38 -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 1pXOJi-0000bB-65 for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:24: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 1pXOJd-00011Z-Dz for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:24:28 -0500 Received: by mail-wm1-x333.google.com with SMTP id j3so8830919wms.2 for ; Wed, 01 Mar 2023 07:24:22 -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=D9u8cdGfNTD+ql08VoEjefNIwphTAu8BlNDQo2Kgmc8=; b=iTjOYwk+RrImjIPi8QX2RORAUu92BhFxjS5wqDww0pDdElxZsjKMdZZj2xle68T/RH qPgcRYqXaxkheC0CNMcwiUUz2qtkxNL6fyahBV0gx/Ob51/9TXE/2bEb2pBQA5Q1WPoM 4cRAbf9flPGj4lRGJvm4/0mXSKB8to4Vt/BjdI/9pV7YLrJlqFw9RaMQZavNYmbz1ZKo GeVpeh/MTPkdPseObSjbHSr204cw5mj1BQTviJ1PjnIjsfEokrDTuPL2hUtNLsQ7oxwD 0RZ35fLK3ppGbXxzcpjOXi/rC7o61pjAnITg3aSjiPgLC4anK4JBNSpF2eEwWOF2vExJ xPmQ== 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=D9u8cdGfNTD+ql08VoEjefNIwphTAu8BlNDQo2Kgmc8=; b=jORNJVbGtwdHFgohQ9mN8I1xDIW1petE5RsxGJBQmYhwTExlqn/r771R7o89ZA/O3L jwJSRUYrFNCEFjwVHi+8L3AWi58hllmHTfjoZk5e9Z4pj5mQFu6LrXHikthF9MX/S880 IeP63RsxM0L/GygEbuFhvCcFW20bgYAbr4JmRM2p6mKUjNxCZQsROE627MKFhvKAbkx4 JtjE67jdvL6Uiw4L00n4Z1hhMPdAgVnFYyJkE9OjGfhV+rrcr/Zp//FXJGjOoWNNRF9R CzJdWJB33TMMUOf+Gms0z/H0qvbQg6J9mq8Wmyp8MOgX+m/hnuBvvPVEmDYFbOXzR7AK FzUg== X-Gm-Message-State: AO0yUKXiM184k6BUhJJ/XP9kTf2FQMOKBEgHL1VlKzERfppikSvLi27M 49+a6n3KqQGKaVajsfiymQEm3w== X-Received: by 2002:a05:600c:81e:b0:3e2:201a:5bce with SMTP id k30-20020a05600c081e00b003e2201a5bcemr5260351wmp.40.1677684260716; Wed, 01 Mar 2023 07:24:20 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id z23-20020a1c4c17000000b003e2066a6339sm15726842wmf.5.2023.03.01.07.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 07:24:20 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1949C1FFC3; Wed, 1 Mar 2023 15:16:06 +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 v2 13/24] cirrus.yml: Improve the windows_msys2_task Date: Wed, 1 Mar 2023 15:15:53 +0000 Message-Id: <20230301151604.1948813-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230301151604.1948813-1-alex.bennee@linaro.org> References: <20230301151604.1948813-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: <20230228190653.1602033-14-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"