mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-18 06:03:58 +03:00
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:
parent
301423b83a
commit
d93e3cb8d4
18
.github/workflows/test-against-libvirt-git.yml
vendored
18
.github/workflows/test-against-libvirt-git.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user