Skip to content
Snippets Groups Projects
Commit 505380e1 authored by Chandan Singh's avatar Chandan Singh
Browse files

.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.
parent 8216ff8d
No related branches found
No related tags found
Loading
Pipeline #28572697 failed
......@@ -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
......@@ -46,6 +51,7 @@ source_dist:
# Make our helpers executable
- chmod +x dist/unpack.sh
artifacts:
paths:
- dist/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment