Skip to content

Commit 06dcf60

Browse files
committed
ci: Drop github RPM build step, packit has us covered now
Signed-off-by: Cole Robinson <[email protected]>
1 parent 12f314f commit 06dcf60

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,6 @@ jobs:
4444
file: ./coverage.xml
4545
flags: unittests
4646

47-
# Build the RPM on latest fedora, centos7 and centos8
48-
rpm:
49-
runs-on: ubuntu-latest
50-
51-
container:
52-
image: fedora:latest
53-
# All this is needed to ensure 'mock' works in docker
54-
options: --cap-add=SYS_ADMIN --security-opt label:disable --security-opt seccomp=unconfined --security-opt apparmor:unconfined
55-
56-
steps:
57-
- uses: actions/checkout@v2
58-
59-
- name: Install deps
60-
run: |
61-
# glibc-langpacks-en needed to work around python locale issues
62-
dnf install -y \
63-
python3-pip \
64-
rpm-build \
65-
mock \
66-
dnf-plugins-core \
67-
glibc-langpack-en
68-
dnf builddep -y ./*.spec
69-
70-
- name: Build RPM + SRPM
71-
run: |
72-
./setup.py rpm
73-
74-
- run: mock --root epel-8-x86_64 *.src.rpm
75-
7647
# Build and install on Windows
7748
windows:
7849
runs-on: windows-latest

0 commit comments

Comments
 (0)