summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2019-06-10 20:40:13 +0100
committerBenjamin Schubert <contact@benschubert.me>2019-06-10 20:55:25 +0100
commitaaa4edaa25b50b7553b9c0a648641703880d7f3b (patch)
treec468e04ea7d078bbef18df5827af2b0ffad1b174 /.gitlab-ci.yml
parent9a5cca343ad2a4a2e342f5bdbf631a9acf8acbf8 (diff)
downloadbuildstream-aaa4edaa25b50b7553b9c0a648641703880d7f3b.tar.gz
tests: Build wheel before installing BuildStream in overnight tests
BuildStream now requires setuptools and cython when building the wheel and thus can't be installed directly with pip install --no-index. Building a wheel beforehand allows us to install without dependencies.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ad6d4e60..53cb664aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -239,7 +239,8 @@ docs:
EOF
- dnf install -y ostree python3-gobject-base
- pip3 install -r requirements/requirements.txt -r requirements/plugin-requirements.txt
- - pip3 install --no-index .
+ - pip3 wheel --wheel-dir wheels/ --no-deps .
+ - pip3 install --no-index wheels/*
- pip3 install --user -e ${BST_EXT_URL}@${BST_EXT_REF}#egg=bst_ext
- git clone https://gitlab.com/freedesktop-sdk/freedesktop-sdk.git
- git -C freedesktop-sdk checkout ${FD_SDK_REF}