mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
Run make tag on pkg directory to check packages build
This at least checks for buildability of packages, even if we are not yet pushing them. See https://github.com/linuxkit/linuxkit/issues/1991 for what it mitigates. Will not pass until this is fixed. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
cf9397786c
commit
9b82914f7d
3
Makefile
3
Makefile
@ -59,18 +59,21 @@ ci:
|
||||
$(MAKE)
|
||||
$(MAKE) install
|
||||
$(MAKE) -C test all
|
||||
$(MAKE) -C pkg tag
|
||||
|
||||
ci-tag:
|
||||
$(MAKE) clean
|
||||
$(MAKE)
|
||||
$(MAKE) install
|
||||
$(MAKE) -C test all
|
||||
$(MAKE) -C pkg tag
|
||||
|
||||
ci-pr:
|
||||
$(MAKE) clean
|
||||
$(MAKE)
|
||||
$(MAKE) install
|
||||
$(MAKE) -C test pr
|
||||
$(MAKE) -C pkg tag
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
10
pkg/Makefile
10
pkg/Makefile
@ -1,10 +1,10 @@
|
||||
DIRS = $(shell find . -type d -depth 1)
|
||||
.PHONY: clean dirs $(DIRS)
|
||||
|
||||
push: $(DIRS)
|
||||
push:
|
||||
@set -e; for d in $(DIRS); do make -C "$$d"; done
|
||||
|
||||
$(DIRS):
|
||||
$(MAKE) -C $@
|
||||
tag:
|
||||
@set -e; for d in $(DIRS); do make -C "$$d" tag; done
|
||||
|
||||
clean:
|
||||
rm -f hash
|
||||
clean: ;
|
||||
|
Loading…
Reference in New Issue
Block a user