aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Singla <singlatushar07@gmail.com>2021-06-28 00:10:08 +0530
committerTushar Singla <singlatushar07@gmail.com>2021-06-28 11:57:19 +0530
commit057750c09d0a8331c33966d2cc2285ef82f08af8 (patch)
tree21854fd0b5d48db76ca341f9f63525f15830db39
parent9c3751a0c940228c46461c4191f1a57153cb9037 (diff)
ci: Upgrading pip version in macos environment
During each CI run, for macos native environment, python packages lief and zmq are rebuilt everytime which wastes a lot of resources and time. The latest version of pip directly fetches pre-built binaries. Through this commit pip version is upgraded in macos environment before installation of these packages.
-rwxr-xr-xci/test/04_install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh
index 01dbfe221b..906e4aae60 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -11,6 +11,7 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
fi
if [ "$CI_OS_NAME" == "macos" ]; then
+ sudo -H pip3 install --upgrade pip
IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
fi