From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 19 Jun 2023 11:48:13 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBBUc-00D2oU-Ka for lore@lore.pengutronix.de; Mon, 19 Jun 2023 11:48:13 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBBUa-0000nY-AV for lore@pengutronix.de; Mon, 19 Jun 2023 11:48:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=jfSBbHYh5MPawOeM9xzvChyAJYP6o5G7BMIUgD7+xVc=; b=cRDcV0Hob3kdSWFUgeHZzxbkxG nG94kqh3ztYmUzlevyN+DA4AXcw2A1qTB3YfchEaSUb27L+c49CarjOosUQJEgg6HlUryKD1kBnuX Lc5YQ4WWrYv9Y2f0J2YB4/I2+lz005icTf1484ulQeGhGg1hsWsjaM3grLkM5MhCGGQaV5f3/kcjE XgWyGULrCQClhaD3MfEBDXQHqruRnCIcAYUVtLIiydat+zXPK6vkGX52EzBevj0+n2Q7MxNXiK/4Q eOcWf/KzdzIU0Z32qZPWrT5CKENUXyU+kqi+skgrvnv9NDd1jlFdslZzVlVaIWRB7gpk9lKmUWpph Q3Rla1hQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBBTE-0084AX-1p; Mon, 19 Jun 2023 09:46:48 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBBTA-00848Q-2U for barebox@lists.infradead.org; Mon, 19 Jun 2023 09:46:46 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBBT5-0000SR-EA; Mon, 19 Jun 2023 11:46:39 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qBBT4-008TaU-PK; Mon, 19 Jun 2023 11:46:38 +0200 Received: from afa by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qBBT4-00HMub-1V; Mon, 19 Jun 2023 11:46:38 +0200 From: Ahmad Fatoum To: barebox@lists.infradead.org Cc: Ahmad Fatoum Date: Mon, 19 Jun 2023 11:46:37 +0200 Message-Id: <20230619094637.4134449-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_024644_807706_1E5EFE62 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH] ci: build: have CI build ARCH=openrisc X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) qemu-system-misc ships with qemu-system-or1k and kernel.org mirrors a crostool toolchain capable of building barebox for running in it. Let's make use of that. We don't yet activate openrisc for CI test as it fails to boot up with SELFTEST_OF_MANIPULATION. A suggested fix is still under discussion[1]. [1]: https://lore.barebox.org/barebox/20230605063719.1431079-1-a.fatoum@pengutronix.de/ Signed-off-by: Ahmad Fatoum --- .github/workflows/build-defconfigs.yml | 2 +- test/Containerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-defconfigs.yml b/.github/workflows/build-defconfigs.yml index ff9264721d87..4cf6df52d44d 100644 --- a/.github/workflows/build-defconfigs.yml +++ b/.github/workflows/build-defconfigs.yml @@ -3,7 +3,7 @@ name: build images on: [push, pull_request] env: - ARCH: arm mips powerpc riscv sandbox x86 + ARCH: arm mips powerpc riscv sandbox x86 openrisc jobs: defconfigs: diff --git a/test/Containerfile b/test/Containerfile index a53c00584f68..224ea2ea4804 100644 --- a/test/Containerfile +++ b/test/Containerfile @@ -55,6 +55,7 @@ RUN korg_crosstool_dl() { wget -nv -O - https://mirrors.edge.kernel.org/pub/tool korg_crosstool_dl x86_64 ${GCC_VERSION} arm-linux-gnueabi && \ korg_crosstool_dl x86_64 ${GCC_VERSION} aarch64-linux && \ korg_crosstool_dl x86_64 ${GCC_VERSION} mips-linux && \ + korg_crosstool_dl x86_64 ${GCC_VERSION} or1k-linux && \ korg_crosstool_dl x86_64 ${GCC_VERSION} powerpc-linux && \ korg_crosstool_dl x86_64 ${GCC_VERSION} riscv64-linux @@ -74,6 +75,7 @@ RUN cd /tmp && \ ENV CROSS_COMPILE_arm=/opt/gcc-${GCC_VERSION}-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- ENV CROSS_COMPILE_arm64=/opt/gcc-${GCC_VERSION}-nolibc/aarch64-linux/bin/aarch64-linux- ENV CROSS_COMPILE_mips=/opt/gcc-${GCC_VERSION}-nolibc/mips-linux/bin/mips-linux- +ENV CROSS_COMPILE_openrisc=/opt/gcc-${GCC_VERSION}-nolibc/or1k-linux/bin/or1k-linux- ENV CROSS_COMPILE_powerpc=/opt/gcc-${GCC_VERSION}-nolibc/powerpc-linux/bin/powerpc-linux- ENV CROSS_COMPILE_riscv=/opt/gcc-${GCC_VERSION}-nolibc/riscv64-linux/bin/riscv64-linux- -- 2.39.2