From patchwork Fri Feb 11 16:03: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: 541786 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp3205031imo; Fri, 11 Feb 2022 08:06:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsayCMx5J9pi/ZI59JBo8CmkIAIrzzhreTPoVtIVfW6Fqgf5mF44+RjZZHBSFR44Nafh3F X-Received: by 2002:a05:622a:612:: with SMTP id z18mr1551789qta.517.1644595596396; Fri, 11 Feb 2022 08:06:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644595596; cv=none; d=google.com; s=arc-20160816; b=d6C6Ue0voItskA4gBya2LjSJgOxqdq02+bKfrgkNxxyImiRfGWkzUTMULF5krVQpfh P92YKms7dsXlMH3VX42+2lN6nyP7ofQNahXUEhRv6q05VYexFgv/hCXozvRRDaIGUx1y lNhy3wac/HKbhPETuuqVxJ3VhHMx0lL3Y2bIsm6XqDunur/K9y36srLXGjLXxEuAti37 3fTSZmXXkwwjVkQ+EWkX4vvW+DI87I6ek/bJyzix6zl6j8P3cgaIfpf5uWG0SnP+WFPv tJNpuGUwDShDz78auQKR8hWI+GcG4iLryZW39P6mUK3S/0IZPBm++4pgjUpqGNfJxBKN 6Z6A== 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=VXFQUYvPfMrD6ElMMpTu3MsKFqVvKrPYQNG+wDG/hYw=; b=hKCbTBuBhUqp7LcrbN/LPZUM5AmLYtpJGk6OQHQ4eFtsg33zl5G4Fb8BJxC2XRWZEZ ku3rSkGhY++1x2eGCEPB5EcMmHvX1LULqQ5kfl/DJeiSj+4NF6bMDhSGlzoIZZu579DT lTI7sqh7jxYIPZ4zI/eyxnBh0alGF1O+6FrLCDzE7ES0CpYTgWuqOy6waqf177kRwfy5 msZgUUQKQSQRmN0nfWNCqOsW27FThL451WB1jH1RPCHGzry9b0b3a1+4ku49D3TWYwjU Q+st4qy2WceI49xi2fSBN4Lg5YZ55AEs2jmWoSEt0gtZsc9+39sT4k/rDuknctgRdgGF kt4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xg+l1GBx; 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 q8si1530383ybo.49.2022.02.11.08.06.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Feb 2022 08:06:36 -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=xg+l1GBx; 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]:44106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIYRP-0007Tc-To for patch@linaro.org; Fri, 11 Feb 2022 11:06:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIYOY-0007OT-TU for qemu-devel@nongnu.org; Fri, 11 Feb 2022 11:03:39 -0500 Received: from [2a00:1450:4864:20::529] (port=45608 helo=mail-ed1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIYOS-0005Bp-C6 for qemu-devel@nongnu.org; Fri, 11 Feb 2022 11:03:35 -0500 Received: by mail-ed1-x529.google.com with SMTP id ch26so17055927edb.12 for ; Fri, 11 Feb 2022 08:03:22 -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=VXFQUYvPfMrD6ElMMpTu3MsKFqVvKrPYQNG+wDG/hYw=; b=xg+l1GBxMTGg1zmz+xor1Tl8qimil1O8lmbvpHU6pwO3U3kVco+GlOhWwBjzEvWARw WXWeBUYNQJ/yZOeFq8MYgodwW1EWIZ1a+zrDMydjr1keAshCHZJEKCNj8Ofm+QEnHqXl LgC8QXYfEkBMg/di45dtQg/TKwimO3ipsT3trl0pvl41l1ZAx39KAcPxrxKjotCmb/G9 6U1+En7/gyhhqOzq+dWCzE112SKlIfiJSJCnN4o684kAqRWjw61n7sIakd/PMQFJWTdr 3hXl8Sz0U9hgIFJO1tWBomnnjbzzoFkoDE7W43ZX36TJLjkDTE0fUbLdsNO8C6b0CFeh PWBg== 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=VXFQUYvPfMrD6ElMMpTu3MsKFqVvKrPYQNG+wDG/hYw=; b=vvwyWmUYetml/C3226SCeWjP2+YWwETmEaahZZ1+7b9c0cAqieoFQ0KDWaJxZObTln 73murts2Hxsbp40MnvUzS3GjUT86nt6IO/Q1nP8FKz1VQqpvmV8Q66EMSCAWK46sT32r CdHc7V2XbdQb7wbnsyT93hTnG1jjQpTbWhCxrK1X+pyLIKVlOUDFVcrI2UNw7psvgk57 zMAHsal2GV8Ojkv+s5PYid61vN2pwnSaq7r2LfPVcfHMYzYWmYTqn4LUQ6diiQQeoqGr vlSkgi8p+DzJ90TdpNNhrmjJ++QLWGwWVokevuMGP6qOKGB999ETDJ4eq41QHQOUTVEO mj4A== X-Gm-Message-State: AOAM533bWv2hlkCwlDk4Sn73Eib5+93VDvFNuDIne9c0KpUc3aw8uZMh C6YkWTj/koGroHG4z2dqEGjvhw== X-Received: by 2002:a05:6402:4392:: with SMTP id o18mr2691493edc.338.1644595402014; Fri, 11 Feb 2022 08:03:22 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e8sm1499948ejm.117.2022.02.11.08.03.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 08:03:14 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7AF251FFC0; Fri, 11 Feb 2022 16:03:10 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 08/11] gitlab: add a new aarch32 custom runner definition Date: Fri, 11 Feb 2022 16:03:06 +0000 Message-Id: <20220211160309.335014-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220211160309.335014-1-alex.bennee@linaro.org> References: <20220211160309.335014-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x529.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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.001, 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: fam@euphon.net, Thomas Huth , berrange@redhat.com, Beraldo Leal , f4bug@amsat.org, Wainer dos Santos Moschetta , qemu-arm@nongnu.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_?= =?utf-8?q?Benn=C3=A9e?= , aurelien@aurel32.net 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 --- docs/devel/ci-jobs.rst.inc | 7 ++++++ .../custom-runners/ubuntu-20.40-aarch32.yml | 23 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml 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