Skip to content

Commit 425b2ba

Browse files
committed
add package build for fedora 43/44
1 parent 58b0dae commit 425b2ba

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,36 @@ jobs:
9999
rm /work/dist/*.tar.gz
100100
rename .rpm .fedora42.rpm /work/dist/*.rpm
101101
mv /work/dist/* artifacts/
102+
- name: Build on fedora43
103+
uses: addnab/docker-run-action@v3
104+
with:
105+
image: fedora:43
106+
options: -v ${{ github.workspace }}:/work
107+
run: |
108+
yum -yq install rpm-build python3 \
109+
python3-setuptools util-linux
110+
mkdir -p /work/dist/fedora43
111+
cd /work/
112+
python3.14 setup.py bdist_rpm --python /usr/bin/python3.14 \
113+
--requires "python3-libvirt python3-libnbd python3-lxml python3-tqdm python3-lz4 nbdkit-server nbdkit-python-plugin python3-paramiko python3-typing-extensions python3-colorlog qemu-img openssh-clients"
114+
rm /work/dist/*.tar.gz
115+
rename .rpm .fedora43.rpm /work/dist/*.rpm
116+
mv /work/dist/* artifacts/
117+
- name: Build on fedora44
118+
uses: addnab/docker-run-action@v3
119+
with:
120+
image: fedora:44
121+
options: -v ${{ github.workspace }}:/work
122+
run: |
123+
yum -yq install rpm-build python3 \
124+
python3-setuptools util-linux
125+
mkdir -p /work/dist/fedora43
126+
cd /work/
127+
python3.14 setup.py bdist_rpm --python /usr/bin/python3.14 \
128+
--requires "python3-libvirt python3-libnbd python3-lxml python3-tqdm python3-lz4 nbdkit-server nbdkit-python-plugin python3-paramiko python3-typing-extensions python3-colorlog qemu-img openssh-clients"
129+
rm /work/dist/*.tar.gz
130+
rename .rpm .fedora44.rpm /work/dist/*.rpm
131+
mv /work/dist/* artifacts/
102132
- name: Build on opensuse 15
103133
uses: addnab/docker-run-action@v3
104134
with:
@@ -238,6 +268,28 @@ jobs:
238268
virtnbdbackup -h
239269
virtnbdrestore -h
240270
virtnbdmap -h
271+
- name: Test installation on fedora43
272+
uses: addnab/docker-run-action@v3
273+
with:
274+
image: fedora:43
275+
options: -v ${{ github.workspace }}:/work
276+
run: |
277+
yum -yq install epel-release
278+
yum -yq install /work/artifacts/*noarch*fedora43.rpm
279+
virtnbdbackup -h
280+
virtnbdrestore -h
281+
virtnbdmap -h
282+
- name: Test installation on fedora44
283+
uses: addnab/docker-run-action@v3
284+
with:
285+
image: fedora:44
286+
options: -v ${{ github.workspace }}:/work
287+
run: |
288+
yum -yq install epel-release
289+
yum -yq install /work/artifacts/*noarch*fedora44.rpm
290+
virtnbdbackup -h
291+
virtnbdrestore -h
292+
virtnbdmap -h
241293
- name: Test installation on debian
242294
uses: addnab/docker-run-action@v3
243295
with:

0 commit comments

Comments
 (0)