mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 08:58:16 +00:00
build: run tests on build
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
101a1b3f95
commit
35c78505d7
6
Makefile
6
Makefile
@ -90,7 +90,7 @@ install: ${PKGSOURCES}
|
|||||||
|
|
||||||
.PHONY: deb
|
.PHONY: deb
|
||||||
deb: ${DEB}
|
deb: ${DEB}
|
||||||
${DEB}: ${PKGSOURCES}
|
${DEB}: ${PKGSOURCES} check
|
||||||
rm -f *.deb
|
rm -f *.deb
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -108,6 +108,10 @@ ${DEB}: ${PKGSOURCES}
|
|||||||
mv build.deb ${DEB}
|
mv build.deb ${DEB}
|
||||||
lintian ${DEB}
|
lintian ${DEB}
|
||||||
|
|
||||||
|
.PHONY: check
|
||||||
|
check: test
|
||||||
|
make -C test
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ${DEB}
|
upload: ${DEB}
|
||||||
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch
|
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch
|
||||||
|
Loading…
Reference in New Issue
Block a user