From fbc890f8d69353098fe92166a9bf3bb733d6bfbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 6 May 2025 16:37:54 +0200 Subject: [PATCH] CI: Use Packit to build on non-x86_64 architectures This patch enables Packit to build on AArch64, 32-bit x86, and PPC64LE platforms on Fedora Rawhide distribution. It also reenables running tests on AArch64 in the upstream spec file. This way we should get test coverage for some common non-x86_64 architectures at a reasonable speed. s390x intentionally skipped because the build waited an hour. That's unacceptable for CI. --- .packit.yml | 5 +++++ fedora/libmodulemd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.packit.yml b/.packit.yml index e279e7ea..f802583f 100644 --- a/.packit.yml +++ b/.packit.yml @@ -19,6 +19,11 @@ jobs: metadata: targets: - fedora-all + - fedora-rawhide-aarch64 + - fedora-rawhide-i386 + - fedora-rawhide-ppc64le + # fedora-rawhide-x86_64 is included in fedora-all + # fedora-rawhide-s390x has too long wait queue - epel-7 - epel-8 - centos-stream-9 diff --git a/fedora/libmodulemd.spec b/fedora/libmodulemd.spec index 17abb39a..c8062b84 100644 --- a/fedora/libmodulemd.spec +++ b/fedora/libmodulemd.spec @@ -108,7 +108,7 @@ export LC_CTYPE=C.utf8 # Don't run tests on ARM for now. There are problems with # performance on the builders and often these time out. -%ifnarch %{arm} aarch64 +%ifnarch %{arm} # The tests sometimes time out in CI, so give them a little extra time %{__meson} test -C %{_vpath_builddir} %{?_smp_mesonflags} --print-errorlogs -t 5 %endif