From nobody Sat May 18 08:35:49 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602040444; cv=none; d=zohomail.com; s=zohoarc; b=Es5r2pVAWcmuDvqA1GtSA0qZhoQaFphigu5qsm4aCOG6mTY37LzXY6eRB77EPAOHZL2ILqBH4griWj0o7yxQ5dHdJSQoLdCKOHV8lrbC8pFCjpDI2VzHCLAlV3hmpoiIQ++os7tpk8ZlZ36U6M/iJdwtZLBhq7rOmGYzbdycN4w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602040444; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dVr/fSApCdp1cCYQvU4K71KzhrNEn4Cfm+TTpJ7qcHg=; b=aBkb3gqgDb0L7qpUzlhvfOkahQreXfLGTYfo8kNbToKHcU7J5s8vm57P4E3oSAlrG5JddJ06bmOX+EFAAUS1+R8KaH8LSIvUVMw4gkWny4nYL4gzTexQyuYqtSiOGThTXCMusPwARQnnwSh2SSzUhhtt77zPZRrsPH0dpGHDMjk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160204044442435.67736182650174; Tue, 6 Oct 2020 20:14:04 -0700 (PDT) Received: from localhost ([::1]:36386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPztz-0001wa-0W for importer@patchew.org; Tue, 06 Oct 2020 23:14:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPzsC-0000NL-TH; Tue, 06 Oct 2020 23:12:12 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:34574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPzsA-0005kd-Qn; Tue, 06 Oct 2020 23:12:12 -0400 Received: by mail-pl1-x632.google.com with SMTP id t18so292302plo.1; Tue, 06 Oct 2020 20:12:10 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id cs21sm9001614pjb.0.2020.10.06.20.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 20:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dVr/fSApCdp1cCYQvU4K71KzhrNEn4Cfm+TTpJ7qcHg=; b=ogZuLBJaWIsnipEPtSR7gQa/Fj6qGWgyXtVZPGzf5DfDM866p/r87B9ODz/bctvWSG ZATn9LhsDzTP+b4xLtOFBETGuI7MVukKEUwqp6oNA4XTgSvAygYt/o6aNryowohPB8hP W281iqyQpqXNDGpl1PUyYaxzOakuYyfLYVZMWmL+5M7zA3dhaDP2j+1TAiQ3pkvv8rKf QJr1n+ibTvdyfBQjZjKa1gYy7rJT3+Moz3OObK7uVEH5FqKIqGa9+SfvkQpjjRztLXv7 W5Ws+sBsITJw4DQrh6ZjXmbf/apicCrRZIDnuXi6oztPmWeUt2LzxQgYq9c54BmvKaCQ 4K8g== 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=dVr/fSApCdp1cCYQvU4K71KzhrNEn4Cfm+TTpJ7qcHg=; b=sL21k2boPVXFivmPNVf/YfxN328lMq5W8AJcVoKWvJKimgcIFYrLrXHz9uxOxj2xQA NMgUx7DoBH/nE2EEOkylTNUByEhvCEq25L/0if9otyS52FllVNQxXtkKkP26PkHWSvt7 KWR0XP94jAuYbQ2A7q60SO62MG2zr2aWW9H/hEGxyECghX/paH2DpFqmKdq/2Dbef8eF AtlmwbaHskzClpj5b8QvlIko0HlaU1xCbgbnslMwl5RV6zph7jUxLWszLgEyCKwbaAuI veKxAvbaZJY1CvQpQCTC39zKosJcS/MZPF2YYywMqU79L6jIna3769ttIAaRAFZTzAtP bXlA== X-Gm-Message-State: AOAM5319z/sWgSM1KlWaRUmcVTGBG2cy7X5rxi532/iperIscMcw8Yez jV5IDjfbKw69L4wMsENftiMz61QCHgp1oA== X-Google-Smtp-Source: ABdhPJyc3mSmNLuVVW0shqXldEVaHzptH+bNloyQfyYsRo2uIpF3OGTgWddxcdJJ+Q1YbkHVPwdp7g== X-Received: by 2002:a17:90a:6984:: with SMTP id s4mr1099768pjj.206.1602040328406; Tue, 06 Oct 2020 20:12:08 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v2 1/2] docker: Add win32/msys2/mingw64 docker Date: Wed, 7 Oct 2020 11:11:47 +0800 Message-Id: <20201007031148.232-2-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201007031148.232-1-luoyonggang@gmail.com> References: <20201007031148.232-1-luoyonggang@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=luoyonggang@gmail.com; helo=mail-pl1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Thomas Huth , QEMU Trivial , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yonggang Luo , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" This docker is used to preparing a msys2/mingw with basic software installe= d. Signed-off-by: Yonggang Luo --- tests/docker/dockerfiles/msys2.docker | 57 +++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/docker/dockerfiles/msys2.docker diff --git a/tests/docker/dockerfiles/msys2.docker b/tests/docker/dockerfil= es/msys2.docker new file mode 100644 index 0000000000..ce1404cbb8 --- /dev/null +++ b/tests/docker/dockerfiles/msys2.docker @@ -0,0 +1,57 @@ +FROM mcr.microsoft.com/windows/servercore:2004 +RUN cmd /S /C powershell -NoLogo -NoProfile -Command netsh interface ipv4 = show interfaces ; netsh interface ipv4 set subinterface 18 mtu=3D1460 store= =3Dpersistent ; netsh interface ipv4 show interfaces ; Set-ExecutionPolicy = Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).Downlo= adString('https://chocolatey.org/install.ps1')) ; +RUN choco install -y --no-progress git 7zip +RUN cmd /S /C powershell -NoLogo -NoProfile -Command Remove-Item C:\Progra= mData\chocolatey\logs -Force -Recurse ; Remove-Item C:\Users\ContainerAdmin= istrator\AppData\Local\Temp -Force -Recurse +RUN mkdir C:\tools +RUN bitsadmin /transfer msys_download /dynamic /download /priority FOREGRO= UND https://github.com/msys2/msys2-installer/releases/download/2020-09-03/m= sys2-base-x86_64-20200903.sfx.exe C:\tools\base.exe +RUN cd /d C:\tools && base.exe -y +RUN cmd /S /C powershell -NoLogo -NoProfile -Command "((Get-Content -path = C:\tools\msys64\etc\\post-install\\07-pacman-key.post -Raw) -replace '--ref= resh-keys', '--version') | Set-Content -Path C:\tools\msys64\etc\\post-inst= all\\07-pacman-key.post" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/^CheckSpace/#CheckSpac= e/g' /etc/pacman.conf" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "echo $MSYSTEM" >nul 2>&1 +# RUN C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/Server =3D http:\/\/= repo.msys2.org\/msys\/.arch\///g' /etc/pacman.d/mirrorlist.msys" +# RUN C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/Server =3D http:\/\/= repo.msys2.org\/mingw\/i686\///g' /etc/pacman.d/mirrorlist.mingw32" +# RUN C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/Server =3D http:\/\/= repo.msys2.org\/mingw\/x86_64\///g' /etc/pacman.d/mirrorlist.mingw64" +RUN C:\tools\msys64\usr\bin\bash.exe -lc "grep -rl 'repo.msys2.org/' /etc/= pacman.d/mirrorlist.* | xargs sed -i 's/repo.msys2.org\//mirrors.tuna.tsing= hua.edu.cn\/msys2\//g'" +RUN C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Sy +RUN echo Y | C:\tools\msys64\usr\bin\pacman.exe -Suu --noconfirm --needed +RUN taskkill /F /FI "MODULES eq msys-2.0.dll" +RUN tasklist +RUN C:\tools\msys64\usr\bin\bash.exe -lc "pacman.exe --noconfirm -S --need= ed \ +base-devel \ +git \ +mingw-w64-x86_64-python \ +mingw-w64-x86_64-python-setuptools \ +mingw-w64-x86_64-toolchain \ +mingw-w64-x86_64-SDL2 \ +mingw-w64-x86_64-SDL2_image \ +mingw-w64-x86_64-gtk3 \ +mingw-w64-x86_64-glib2 \ +mingw-w64-x86_64-ninja \ +mingw-w64-x86_64-make \ +mingw-w64-x86_64-jemalloc \ +mingw-w64-x86_64-lzo2 \ +mingw-w64-x86_64-zstd \ +mingw-w64-x86_64-libjpeg-turbo \ +mingw-w64-x86_64-pixman \ +mingw-w64-x86_64-libgcrypt \ +mingw-w64-x86_64-libpng \ +mingw-w64-x86_64-libssh \ +mingw-w64-x86_64-libxml2 \ +mingw-w64-x86_64-snappy \ +mingw-w64-x86_64-libusb \ +mingw-w64-x86_64-usbredir \ +mingw-w64-x86_64-libtasn1 \ +mingw-w64-x86_64-nettle \ +mingw-w64-x86_64-cyrus-sasl \ +mingw-w64-x86_64-curl \ +mingw-w64-x86_64-gnutls \ +mingw-w64-x86_64-zstd" + +RUN C:\tools\msys64\usr\bin\bash.exe -lc "rm -rf /var/cache/pacman/pkg/*" +RUN del C:\tools\base.exe +RUN cd C:\tools\msys64 && cmd /C "7z a -ttar . -so | 7z a -txz -simsys2-x8= 6_64.tar C:\tools\msys2-x86_64.tar.xz" +# docker build --tag lygstate/windowsservercore:msys2 -f "msys2.docker" . +# docker run -it --rm -v c:/work:c:/work lygstate/windowsservercore:msys2 = cmd +# docker push lygstate/windowsservercore:msys2 +# no cache +# docker build --no-cache --tag lygstate/windowsservercore:msys2 -f "msys2= .docker" . --=20 2.28.0.windows.1 From nobody Sat May 18 08:35:49 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602040442; cv=none; d=zohomail.com; s=zohoarc; b=ThdsjVCUHLlIk4662vueO49wF5RPcKKWgrqPe7fV/Do0QrnXiZxcjlIx8MPBjuFihxnKpwYOaV0AAd7bFTQ0ZUYtAtoG8LbtspeohDFXXjPSU7maLuyCOA1n5r8k9eCJv3Ep6xVsTb3HXSs86uImSr0KuANr3LnszJ/+HuIlKVw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602040442; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Ti82CZTFz3EhPzRXs4Twux3NzJ56A37z948Ppkw4Evw=; b=l+BT03iKEN07LhFPZWwR8LhIyynjo91XpPgZUEBZ6iK9757ekGv7bz+CzB/9hVucEpgXXQTlvNLntAU1LNbTwkaYD8Jg419pahTjBYA/Bb4huMORiQVYURmrhGbZLx8aeg0sYcluuT640YHeZTZ5RH98szxpd0fuEm4tBK68GVo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1602040442354565.7139916332276; Tue, 6 Oct 2020 20:14:02 -0700 (PDT) Received: from localhost ([::1]:36170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPztw-0001rJ-SV for importer@patchew.org; Tue, 06 Oct 2020 23:14:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPzsF-0000TZ-Md; Tue, 06 Oct 2020 23:12:15 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:32786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPzsD-0005lY-Lg; Tue, 06 Oct 2020 23:12:15 -0400 Received: by mail-pj1-x102f.google.com with SMTP id t23so2193376pji.0; Tue, 06 Oct 2020 20:12:12 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id cs21sm9001614pjb.0.2020.10.06.20.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 20:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ti82CZTFz3EhPzRXs4Twux3NzJ56A37z948Ppkw4Evw=; b=Wjc5u9crHCBTUzjT0wiTxspQ42JCtdjFStdZCMRsP17MBzEHJt3AiDKnoNx8TakhAj 4/PHQlP3jXd8hwOd49WIA1kWFqvkP0Lg0DiC94a2JNfnoTqCVEW+hnoXpUD1kPWYKZ7T Dw7Qzfr1aLuaQhTLWCb/cHqeCBtFH+x2h7+Cm0VK+dU+jIAqV4voT9a9nVdwsT56ZBz5 GX1mfjIgYFFw2cQEXQfN8haMcb3rlqTTTohG1up8yDrVQJXluLsXlvk4dCQDePNxusd3 w7j9lwNQgXw/mBHHM3R9h97DEVfDBH1ZddlhoaumR39rLJiCjDlKeW8xEa4ipno+AYQt IW4A== 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=Ti82CZTFz3EhPzRXs4Twux3NzJ56A37z948Ppkw4Evw=; b=fSNdj0opVqxPJz+g9MliQbnm/34t0de/Rofs+DciFnMRTaAbwSNhuiEpzOu1Weqkzw du5LiojY4wYfLZ11Aj/+AqYz14ONwa8T4BTmKRrz8g7L4vYiUPoafUUH0fLSUd0fhBku eC1xEwaul/c15hNGXt1hlG7HG29NU40+Qm3eWVN2hHCjCtntldtHp85fi0+yLN1kry/x MmzBTeVirvtEbJJLDsYFPDaaPooGP3vBFmryJ6A5H72KpnRWhsdFFGjG/a3/5reJMmuG ZF77WAzGXarBdm/lzEJLbqnGMmkbCP7ZTJtw21+F6kMmj6Nrtvk+CFJ1oiu7vm+y1802 v3zw== X-Gm-Message-State: AOAM530bnmPoWh+cft1XR0kgFURLGptYyVP9aKRRidJdMoK0pXFgzq47 1BQhfXQhHrlY/27tsMPf1Ii6ui0aqXDrmw== X-Google-Smtp-Source: ABdhPJzd333it522tIKmKwoFZc1B87iN5dN6XqRBriR724uaindA+1KOnil8v23BkQMVG23eJSLAlg== X-Received: by 2002:a17:902:8509:b029:d3:89e2:7931 with SMTP id bj9-20020a1709028509b02900d389e27931mr947151plb.51.1602040331263; Tue, 06 Oct 2020 20:12:11 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v2 2/2] cirrus: Fixing and speedup the msys2/mingw CI Date: Wed, 7 Oct 2020 11:11:48 +0800 Message-Id: <20201007031148.232-3-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201007031148.232-1-luoyonggang@gmail.com> References: <20201007031148.232-1-luoyonggang@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=luoyonggang@gmail.com; helo=mail-pj1-x102f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Thomas Huth , QEMU Trivial , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yonggang Luo , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Using a prepared https://github.com/lygstate/qemu/releases/download/v5.1.0/= msys2-x86_64.tar.xz for speed up the msys2/mingw prepare speed on the cirrus CI. This file are generated by the msys2.docker Signed-off-by: Yonggang Luo --- .cirrus.yml | 58 ++++++++++++++--------------------------------------- 1 file changed, 15 insertions(+), 43 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index d58782ce67..6fd884db7a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -47,58 +47,30 @@ macos_xcode_task: =20 windows_msys2_task: windows_container: - image: cirrusci/windowsservercore:cmake + image: cirrusci/windowsservercore:2019 os_version: 2019 cpu: 8 memory: 8G env: + CIRRUS_SHELL: powershell MSYS: winsymlinks:nativestrict MSYSTEM: MINGW64 CHERE_INVOKING: 1 - printenv_script: - - C:\tools\msys64\usr\bin\bash.exe -lc 'printenv' install_script: - - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && - curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb1= 1-1-any.pkg.tar.xz" - - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && - curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb1= 1-1-any.pkg.tar.xz.sig" - - C:\tools\msys64\usr\bin\bash.exe -lc "cd /c/tools && - pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz" - - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Sy" + - | + Write-Output $env:PATH + md C:\tools + $start_time =3D Get-Date + bitsadmin /transfer msys_download /dynamic /download /priority FOREG= ROUND https://github.com/lygstate/qemu/releases/download/v5.1.0/msys2-x86_6= 4.tar.xz C:\tools\msys2-x86_64.tar.xz + Write-Output "Download time taken: $((Get-Date).Subtract($start_time= ).Seconds) second(s)" + $start_time =3D Get-Date + cd C:\tools + choco install -y --no-progress 7zip + cmd /C "7z x msys2-x86_64.tar.xz -so | 7z x -aoa -simsys2-x86_64.tar= -ttar -omsys64" + Write-Output "Extract time taken: $((Get-Date).Subtract($start_time)= .Seconds) second(s)" - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed - bash pacman pacman-mirrors msys2-runtime" - - taskkill /F /IM gpg-agent.exe - - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Su" - - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed - base-devel - git - mingw-w64-x86_64-python - mingw-w64-x86_64-python-setuptools - mingw-w64-x86_64-toolchain - mingw-w64-x86_64-capstone - mingw-w64-x86_64-SDL2 - mingw-w64-x86_64-SDL2_image - mingw-w64-x86_64-gtk3 - mingw-w64-x86_64-glib2 - mingw-w64-x86_64-ninja - mingw-w64-x86_64-make - mingw-w64-x86_64-lzo2 - mingw-w64-x86_64-zstd - mingw-w64-x86_64-libjpeg-turbo - mingw-w64-x86_64-pixman - mingw-w64-x86_64-libgcrypt - mingw-w64-x86_64-libpng - mingw-w64-x86_64-libssh - mingw-w64-x86_64-libxml2 - mingw-w64-x86_64-snappy - mingw-w64-x86_64-libusb - mingw-w64-x86_64-usbredir - mingw-w64-x86_64-libtasn1 - mingw-w64-x86_64-nettle - mingw-w64-x86_64-cyrus-sasl - mingw-w64-x86_64-curl - mingw-w64-x86_64-gnutls - mingw-w64-x86_64-zstd" + mingw-w64-x86_64-python-sphinx" + script: - C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build" - C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --=20 2.28.0.windows.1