From patchwork Tue Mar 1 09:47:06 2022 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: 547254 Delivered-To: patch@linaro.org Received: by 2002:ac0:9f50:0:0:0:0:0 with SMTP id l16csp3532349imf; Tue, 1 Mar 2022 02:14:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8ZJ5Zbu2A+zBzjB+D7L54t7bzGTUffRvA40/4RWfG1XZQMkeF0bgzqyhw9C28v9xe4bgj X-Received: by 2002:a37:69c6:0:b0:5e9:6a1f:c357 with SMTP id e189-20020a3769c6000000b005e96a1fc357mr13345275qkc.632.1646129662436; Tue, 01 Mar 2022 02:14:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646129662; cv=none; d=google.com; s=arc-20160816; b=sujNOx4i9si5kfbYnal2w0S/w+aVrGRtPC49WLKhIo3Om4K28Beq23rhEmjt6iDP5h g1aUr/jdKa+BRnUYLUGn12BwqgfoOaszvrHuuvVn5ar51WZ3nKq1zky9c3a1gTxJv3bk ppO7NqAplAHQcdXJ2zpddSqvxgIiQNX8+xPAbyofeeQSeB7BFUW7inwuLXVTUQgdrwkR t/vq4UjTCEcaWvO58mSaxT353jwQPho4bBGTPAaC4mybHvyHb0jCmXEDl75z0TaL6H/F X+LP5etYi7bfWMPjnem9ImC/ho8zPdg33tN0HPRDREezmc1BM4auRnlp4RdY9JTLgg/J muOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=2RgP2zpDIIOZAiHgV2LS00sHgCVEIEgHBVaYSoh4o8M=; b=z8Fy2So4uDE4nSmVHd9px4zW4S7iiPMNfctGJioPEyMUupnna0WY8vLgNq8kb0pjDu Mq/fjoqiRNDr+6DC9qVKP54wOBgR0VyI7dvUHQOdavuOIvh45KaHjLecQ3xFF+tcJ46H RokQW/QFG7uYWHD8IPtwk9nmhx+bm/GCtEMWgm79eRJD1eHncZgtEggcG4uxtheEEBtv yFi298wru9ePqcnuDiUGUGfa4rFRlvQnjhP7hQbvhRur2n6Wc2GLub2/qUUR3OK66PGf q2M60s0OIn0wbN2su/4aSsxNAX/3UiXvxre8zt7Xp+vsH4+Ino7LfLrr3PoJG+h8xkFY nmVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VYOIiBd2; 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=fail (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 gg11-20020a056214252b00b004330832f57fsi2468823qvb.315.2022.03.01.02.14.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Mar 2022 02:14:22 -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=fail header.i=@linaro.org header.s=google header.b=VYOIiBd2; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOzWQ-00040f-0p for patch@linaro.org; Tue, 01 Mar 2022 05:14:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOz6V-0003S8-63 for qemu-devel@nongnu.org; Tue, 01 Mar 2022 04:47:36 -0500 Received: from [2a00:1450:4864:20::430] (port=37608 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOz6T-00079V-J5 for qemu-devel@nongnu.org; Tue, 01 Mar 2022 04:47:34 -0500 Received: by mail-wr1-x430.google.com with SMTP id bk29so2219276wrb.4 for ; Tue, 01 Mar 2022 01:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2RgP2zpDIIOZAiHgV2LS00sHgCVEIEgHBVaYSoh4o8M=; b=VYOIiBd2OCqlXLR+rKb3WdTvegRM/z9aiyaAIFpqZXte/4QnZ27qgQh8kYo7Y3A7B8 HpdxNVSTOFlXXPyDB9PEfVCu1cP19gdTNhTRtdOIFQGHhBnqGM+j+n/dcfS7oM4VAvYn 0GxXKcoQKDpOAhZdrvreZ02TKX46Dqy6XC1yU8ggFHNqe3jCLiGrK73cKAY0RF89WtBO kevf0D6Y43Svjz5pa7a9DhEaiAir0fqElrWgA41ennYEpsHTn4eR7uU7LehRbmLvnelF SNATxrMwbtSz3O6fdUjYgXNU0kGo/65NmRexL4fUxVUXbgqr1l7VdSjEsgkVtTot/ktj XVpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2RgP2zpDIIOZAiHgV2LS00sHgCVEIEgHBVaYSoh4o8M=; b=T7wcypWwgCzaYJiEPQiOENPwFpP1+ZgAQMma7uSbGOjUWKeRYhisz/4OTvZMjhHK+0 c2I56GIhI3vtgOVPX28CCEwjopdUlCidLiI1Pw0X9/v0OinIVNjLv89di6DeA4zeu+hP 37hJaRPbqKakiXb1ONECGb9OgkKeNqfSh1XRjHAUVrcAE5T5GwwH/2ijmpYPlmDDF/sJ ifvslqok+4ZFgSa+2enI6V7O74BmjeE5Qy1Qss/k3n0U1kgcGzcREEyF+6IyPgS6pdE9 gM1ANxkaHDgMsy5DcWA9fJS5BTAssXkNuphwlgdgfrnbryp8pWwEMfAExTAR6nJ8ANXP Gthg== X-Gm-Message-State: AOAM533il2CeTOkJava602yRP85E+oetgR+yXFrF76YeXo/tsMqXr8oU 7b3hDXAdBC2XcZ2bAtDEjjIGNA== X-Received: by 2002:a5d:5541:0:b0:1ef:607a:798d with SMTP id g1-20020a5d5541000000b001ef607a798dmr15616782wrw.610.1646128052226; Tue, 01 Mar 2022 01:47:32 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h9-20020adff189000000b001ea913352c9sm13035652wro.100.2022.03.01.01.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 01:47:22 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 30A6B1FFC1; Tue, 1 Mar 2022 09:47:16 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 09/18] gitlab: add a new aarch32 custom runner definition Date: Tue, 1 Mar 2022 09:47:06 +0000 Message-Id: <20220301094715.550871-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220301094715.550871-1-alex.bennee@linaro.org> References: <20220301094715.550871-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Thomas Huth , Beraldo Leal , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_B?= =?utf-8?q?enn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Although running on aarch64 hardware we can still target 32bit builds with a cross compiler and run the resulting binaries. Signed-off-by: Alex Bennée Message-Id: <20220225172021.3493923-10-alex.bennee@linaro.org> diff --git a/docs/devel/ci-jobs.rst.inc b/docs/devel/ci-jobs.rst.inc index db3f571d5f..92e25872aa 100644 --- a/docs/devel/ci-jobs.rst.inc +++ b/docs/devel/ci-jobs.rst.inc @@ -44,6 +44,13 @@ If you've got access to an aarch64 host that can be used as a gitlab-CI runner, you can set this variable to enable the tests that require this kind of host. The runner should be tagged with "aarch64". +AARCH32_RUNNER_AVAILABLE +~~~~~~~~~~~~~~~~~~~~~~~~ +If you've got access to an armhf host or an arch64 host that can run +aarch32 EL0 code to be used as a gitlab-CI runner, you can set this +variable to enable the tests that require this kind of host. The +runner should be tagged with "aarch32". + S390X_RUNNER_AVAILABLE ~~~~~~~~~~~~~~~~~~~~~~ If you've got access to an IBM Z host that can be used as a gitlab-CI diff --git a/.gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml b/.gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml new file mode 100644 index 0000000000..9c589bc4cf --- /dev/null +++ b/.gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml @@ -0,0 +1,23 @@ +# All ubuntu-20.04 jobs should run successfully in an environment +# setup by the scripts/ci/setup/qemu/build-environment.yml task +# "Install basic packages to build QEMU on Ubuntu 18.04/20.04" + +ubuntu-20.04-aarch32-all: + needs: [] + stage: build + tags: + - ubuntu_20.04 + - aarch32 + rules: + - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' + when: manual + allow_failure: true + - if: "$AARCH32_RUNNER_AVAILABLE" + when: manual + allow_failure: true + script: + - mkdir build + - cd build + - ../configure --cross-prefix=arm-linux-gnueabihf- + - make --output-sync -j`nproc` + - make --output-sync -j`nproc` check V=1