ci: fix libvirt upstream job after meson

Was erroring with 'Dist currently only works with Git or Mercurial
repos'. Seems like something about the libvirt checkout ordering
caused problems

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2024-11-13 10:26:39 -05:00
parent 301423b83a
commit d93e3cb8d4

View File

@ -15,8 +15,6 @@ jobs:
image: fedora:latest
steps:
- uses: actions/checkout@v4
- name: Install RPM build and libvirt deps
run: |
# glibc-langpacks-en needed to work around python locale issues
@ -35,13 +33,7 @@ jobs:
dnf builddep -y libvirt
- name: checkout and build libvirt
run: |
git clone --depth=1 https://gitlab.com/libvirt/libvirt
cd libvirt
meson build
ninja -C build
cd ..
- uses: actions/checkout@v4
- name: Build RPM and test install
run: |
@ -56,6 +48,14 @@ jobs:
~/rpmbuild/RPMS/noarch/virt-install*.rpm \
~/rpmbuild/RPMS/noarch/virt-manager-common*.rpm
- name: checkout and build libvirt
run: |
git clone --depth=1 https://gitlab.com/libvirt/libvirt
cd libvirt
meson build
ninja -C build
cd ..
- name: Run test suite
run: |
# Treat any `skips` as `errors`. We should only be