Skip to content

Commit fbc890f

Browse files
committed
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.
1 parent 9001aa7 commit fbc890f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.packit.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
metadata:
2020
targets:
2121
- fedora-all
22+
- fedora-rawhide-aarch64
23+
- fedora-rawhide-i386
24+
- fedora-rawhide-ppc64le
25+
# fedora-rawhide-x86_64 is included in fedora-all
26+
# fedora-rawhide-s390x has too long wait queue
2227
- epel-7
2328
- epel-8
2429
- centos-stream-9

fedora/libmodulemd.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export LC_CTYPE=C.utf8
108108

109109
# Don't run tests on ARM for now. There are problems with
110110
# performance on the builders and often these time out.
111-
%ifnarch %{arm} aarch64
111+
%ifnarch %{arm}
112112
# The tests sometimes time out in CI, so give them a little extra time
113113
%{__meson} test -C %{_vpath_builddir} %{?_smp_mesonflags} --print-errorlogs -t 5
114114
%endif

0 commit comments

Comments
 (0)