From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.18854.1625649743736122462 for ; Wed, 07 Jul 2021 02:22:23 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 58A44ED1 for ; Wed, 7 Jul 2021 02:22:23 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 015033F694 for ; Wed, 7 Jul 2021 02:22:22 -0700 (PDT) From: "Ross Burton" To: meta-arm@lists.yoctoproject.org Subject: [PATCH v2 3/3] CI: add packaging test for the binary Arm compilers Date: Wed, 7 Jul 2021 10:22:18 +0100 Message-Id: <20210707092218.2900000-3-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210707092218.2900000-1-ross.burton@arm.com> References: <20210707092218.2900000-1-ross.burton@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Add a trivial job that verifies the binary Arm compiler packages all fetch and package correctly for both x86-64 and arm64. Change-Id: I1e29cc175d66d418630505dcac1a87cdf5c0024a Signed-off-by: Ross Burton --- .gitlab-ci.yml | 3 +++ ci/toolchains.yml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 ci/toolchains.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50eb88b..e0f1e74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,6 +101,9 @@ check-layers: - kas shell --update --force-checkout ci/base.yml:ci/meta-arm-autonomy= .yml:ci/meta-python.yml --command \ "$CI_PROJECT_DIR/ci/check-layers.py $CI_PROJECT_DIR/ci/check-layers.= yml $CI_PROJECT_DIR $KAS_WORK_DIR" =20 +toolchains: + extends: .build + corstone500: extends: .build =20 diff --git a/ci/toolchains.yml b/ci/toolchains.yml new file mode 100644 index 0000000..6a8ebb1 --- /dev/null +++ b/ci/toolchains.yml @@ -0,0 +1,20 @@ +header: + version: 9 + includes: + - base.yml + +# Target is arm64 and SDK is x86-64 to ensure that we exercise both +# architectures + +machine: qemuarm64 +local_conf_header: + toolchains: | + SDKMACHINE =3D "x86_64" + +# No target armcompiler as currently there is no arm64 build +target: + - nativesdk-armcompiler + - gcc-aarch64-none-elf + - nativesdk-gcc-aarch64-none-elf + - gcc-arm-none-eabi + - nativesdk-gcc-arm-none-eabi --=20 2.25.1