From 56096b60daac029900e032f6953536be89783836 Mon Sep 17 00:00:00 2001 From: Chandan Singh Date: Fri, 24 Aug 2018 02:16:55 +0100 Subject: .gitlab-ci.yml: Verify that source tarball installs correctly Add a check to verify that the source distribution tarball that we generate installs corrctly. It is useful to do this check as this is the same tarball will be used when installing BuildStream via PyPI. This check also happens indirectly in the coverage job where we install BuildStream but this check makes it more explicit and will also cause the CI to fail early if the tarball is not correct. --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5aa0bc45..d93704bb0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,11 @@ source_dist: - tar -ztf dist/* - tarball=$(cd dist && echo $(ls *)) + # Verify that the source distribution tarball can be installed correctly + # + - pip3 install dist/*.tar.gz + - bst --version + # unpack tarball as `dist/buildstream` directory - | cat > dist/unpack.sh << EOF -- cgit v1.2.1