add new CI job that does a test-release
This also re-defines that `make release` does the release of all tarballs and will run the tests against them. Latest LibreSSL test is also marked non-essential, as it tends to fail from time to time ... Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
11
Makefile.am
11
Makefile.am
@@ -273,13 +273,20 @@ coverage: check
|
||||
@genhtml coverage.info --output-directory coverage -q
|
||||
endif
|
||||
|
||||
release: test-release-all
|
||||
|
||||
release:
|
||||
dist-archives:
|
||||
$(MAKE) dist
|
||||
$(MAKE) dist-bzip2
|
||||
$(MAKE) dist-xz
|
||||
|
||||
test-release: release
|
||||
test-release: dist
|
||||
@touch testbuild-$(PACKAGE_VERSION).log && ln -sf testbuild-$(PACKAGE_VERSION).log testbuild.log
|
||||
@mkdir -p test-release && cp $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.* test-release && pushd test-release && \
|
||||
tar xzf $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz && pushd $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && ./testbuild.sh && popd && rm -rf $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && \
|
||||
echo "Success" && popd
|
||||
|
||||
test-release-all: dist-archives
|
||||
@touch testbuild-$(PACKAGE_VERSION).log && ln -sf testbuild-$(PACKAGE_VERSION).log testbuild.log
|
||||
@mkdir -p test-release && cp $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.* test-release && pushd test-release && \
|
||||
tar xJf $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.xz && pushd $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && ./testbuild.sh && popd && rm -rf $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && \
|
||||
|
||||
Reference in New Issue
Block a user