feat: github-actions

This commit is contained in:
2020-08-10 14:11:30 +03:00
parent 5d2895871d
commit c19fdf0f6a
7 changed files with 135 additions and 1 deletions

View File

@ -34,12 +34,15 @@ SPEC := $(SPECSDIR)/$(NAME).spec
VERSION := $(shell grep -Fi 'Version:' $(SPEC) | awk '{ print $$2 }')
SOURCETARBALL := $(SOURCESDIR)/$(NAME)-$(VERSION).tar.gz
.PHONY: all prep rpm srpm activate active check-activate clean-tmp clean-pkg clean
.PHONY: all prep rpm srpm activate active check-activate clean-tmp clean-pkg clean builddep test
all: check-activate prep
rpmbuild -ba $(SPEC)
$(MAKE) clean-tmp
builddep:
dnf builddep $(SPEC)
prep: clean-tmp
cd $(SOURCESDIR) && tar czf $(SOURCETARBALL) \
config \