File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 with :
4444 file : ./coverage.xml
4545 flags : unittests
46+
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-7-x86_64 *.src.rpm
75+ - run : mock --root epel-8-x86_64 *.src.rpm
You can’t perform that action at this time.
0 commit comments