From patchwork Tue Jan 2 17:22:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 759372 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp6146366wrw; Tue, 2 Jan 2024 09:23:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5h3DM+Qxte9JZ3mtVfJ2CcmpBTL43XnUVjsv5+P+IQ9eqVywPask1wE9Dtx2gO6J93ROq X-Received: by 2002:a05:6870:bb0c:b0:1ef:bacc:e4d2 with SMTP id nw12-20020a056870bb0c00b001efbacce4d2mr14072881oab.28.1704216223868; Tue, 02 Jan 2024 09:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704216223; cv=none; d=google.com; s=arc-20160816; b=SUexQMQ5UdNUa4+fA/N45b7hCaYXhn4/bc7KvR2uzZ6ppwj5WyzsovPeG6JFwCbuRC RsOQQEYmNzpghJMPK847lQjm1TopsPxj1vv699cc0QK7dMZ6IFUPrKwe3EWnc+EqZXff Gc1cE7OJmtqPe6UaP2+lixrqnqvkLCngiYkS2CCJjo5dHmpc+3CCA9EC6DG2ctbRDX5m c8uGHjCdI9gQfW6nHFXFXuyDlO9REonB9GHj1nAlHbxSx1BLaxgQTG6qH0KZKf+S1K2s WAfmgC1KUTEew/iukAr6rT7VLs4xVZBXIVg3pR23no+Er4bAYdsxcCofJs5isXtr1mb7 vFAA== 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=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; fh=QYsvEO0KmngMqu9u2119WBmGKRkm/U3MfTX/ke0it0w=; b=NX+BZ7jbXQLccqsvz6Le3k8V8gtz1IB70RWAWZxpMsgMg57QG/iITjT1nNe40OqvpD K6n2NwvphmFiquIS/BclZ8vFKRNC0FtopfZoQCDrOwMdmRqWOnS71QBwCeK1RhYa2d18 hZd6x78Vl2bdDXe3yRxezWBh4UsDHrHRjN9kfxc6P62Zdgq/PSk8OIVIAzy6hz5FwkO0 2vVOgEWPM1MPrV4l7isJZhEd8MR4ghmirh6yqs9Y4V6UXnsfo8cNRzH6DErca9aWKUzN kqMTIBxOj0FnZG3AhdDuCa6JsfpKirJm52vpSsYG0Ri530+enpuim6MzWCiFZUvzNzOV FtmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t8MjPiUm; 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 x15-20020ac85f0f000000b00427e7b0cb26si15499755qta.508.2024.01.02.09.23.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jan 2024 09:23:43 -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=t8MjPiUm; 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 1rKiTl-0003rl-Rl; Tue, 02 Jan 2024 12:23:02 -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 1rKiTe-0003rH-Es for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:22:55 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKiTb-0007mN-FJ for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:22:54 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-556275957ccso1966575a12.0 for ; Tue, 02 Jan 2024 09:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704216169; x=1704820969; darn=nongnu.org; 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=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; b=t8MjPiUmqrAbP1+XM+OGyi7HRCU7kyU+xsNtjX5OgyDYhDz3ODtGWQkScBhjuIEiPm DlFRFK4PgYbqOcMlD1Wt0Z2yJ1Vvu9SNht2pNBR5zbUoCujI8ldxDHCxk3+LoOtL3fWh Nf3afZcFkYcqyNEpuBNlQUCnSK4/JilSteBgB6NLpSEbUxmGPRvInx7iCp1ckMOUlFWS ORTjaTikbTyG1gAJVTb301x5m0Lno/r2PJnifw9hJCuH91trOAxSHJxrAY7DcQZGzhZT wOh34mTFVIhzohhqvC73lYPLhyMKBPRSzdrXyDYmiwJE59zyNxCAsmvS3wuEIBAihCfN VP1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704216169; x=1704820969; 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=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; b=fwNSt9DILfh/kKyR9jCU0wuJCESoebgUem3G4Z467phQ3zuka0rlLFKQ6SIu+YksvW DdEzDesFk1oRXbZMjUrxLZWMV7AP0OkSRwmPi84sAlmoDk8VPNo2diGHy1pq+YYX260s Kfj7LK17ghWQ/er4y9bwTKo+mWqGeD9ZV7RC10V92fBQ3OlvD8Q3Gl4RjIa5m/p3uR+7 AmKYu4EeH6WIPOfpp2bExNvzJCTVhBUfoQzi/QYmoxSEuAMdEnvn8HLJyrlwwcmetAwS xwa7FzJD0i9qJ+9R7cb3AKVLp49j9VoMKKOccWkG+coeuH6xWvcAEFbExz+vvNJ3Tes7 NtNg== X-Gm-Message-State: AOJu0Ywj/ySU7rYezH+1br5hciQ6YIlGz4CerEB5jLIN8eFA1Z7Cyz6e 19fjIG5Gail2DE6BwIXMHYZO0Va6EQ+Wv5vmVs6Vhcrz9Ro= X-Received: by 2002:a50:9fcd:0:b0:556:6abd:c301 with SMTP id c71-20020a509fcd000000b005566abdc301mr1026365edf.68.1704216169436; Tue, 02 Jan 2024 09:22:49 -0800 (PST) Received: from m1x-phil.lan (sal63-h02-176-184-16-71.dsl.sta.abo.bbox.fr. [176.184.16.71]) by smtp.gmail.com with ESMTPSA id s20-20020a056402015400b005530cb1464bsm16098188edu.15.2024.01.02.09.22.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Jan 2024 09:22:49 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Zhiguo Wu , Wainer dos Santos Moschetta , Thomas Huth , Bibo Mao , Song Gao , Xiaojuan Yang , Beraldo Leal , WANG Xuerui , =?utf-8?q?Al?= =?utf-8?q?ex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Xianglai Li , Tianrui Zhao Subject: [PATCH 1/2] gitlab: Introduce Loongarch64 runner Date: Tue, 2 Jan 2024 18:22:38 +0100 Message-ID: <20240102172239.69452-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240102172239.69452-1-philmd@linaro.org> References: <20240102172239.69452-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=philmd@linaro.org; helo=mail-ed1-x52b.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Full build config to run CI tests on a Loongarch64 host. Forks might enable this by setting LOONGARCH64_RUNNER_AVAILABLE in their CI namespace settings, see: https://www.qemu.org/docs/master/devel/ci.html#maintainer-controlled-job-variables Signed-off-by: Philippe Mathieu-Daudé Tested-by: Song Gao Reviewed-by: Song Gao --- docs/devel/ci-jobs.rst.inc | 6 ++++++ .gitlab-ci.d/custom-runners.yml | 1 + .../openeuler-22.03-loongarch64.yml | 21 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 .gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml diff --git a/docs/devel/ci-jobs.rst.inc b/docs/devel/ci-jobs.rst.inc index 4c39cdb2d9..b821a33112 100644 --- a/docs/devel/ci-jobs.rst.inc +++ b/docs/devel/ci-jobs.rst.inc @@ -189,6 +189,12 @@ 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 both "centos_stream_8" and "x86_64". +LOONGARCH64_RUNNER_AVAILABLE +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +If you've got access to a Loongarch64 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 "loongarch64". + CCACHE_DISABLE ~~~~~~~~~~~~~~ The jobs are configured to use "ccache" by default since this typically diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml index 8e5b9500f4..152ace4492 100644 --- a/.gitlab-ci.d/custom-runners.yml +++ b/.gitlab-ci.d/custom-runners.yml @@ -32,3 +32,4 @@ include: - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml' - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml' - local: '/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml' + - local: '/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml' diff --git a/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml b/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml new file mode 100644 index 0000000000..86d18f820e --- /dev/null +++ b/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml @@ -0,0 +1,21 @@ +openeuler-22.03-loongarch64-all: + extends: .custom_runner_template + needs: [] + stage: build + tags: + - oe2203 + - loongarch64 + rules: + - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' + when: manual + allow_failure: true + - if: "$LOONGARCH64_RUNNER_AVAILABLE" + when: manual + allow_failure: true + script: + - mkdir build + - cd build + - ../configure + || { cat config.log meson-logs/meson-log.txt; exit 1; } + - make --output-sync -j`nproc --ignore=40` + - make --output-sync -j`nproc --ignore=40` check