From 52c70ff946af81c6c9ee9432cdb0e7cb1b3ee910 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:20:06 +0200 Subject: [PATCH] Time everything --- .ci/install.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.ci/install.sh b/.ci/install.sh index 30b64349d70..c72ec93aff5 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -20,32 +20,32 @@ fi set -e if [[ $(uname) != CYGWIN* ]]; then - sudo apt-get -qq install libfreetype6-dev liblcms2-dev python3-tk\ + time sudo apt-get -qq install libfreetype6-dev liblcms2-dev python3-tk\ ghostscript libffi-dev libjpeg-turbo-progs libopenjp2-7-dev\ cmake meson imagemagick libharfbuzz-dev libfribidi-dev\ sway wl-clipboard libopenblas-dev fi -python3 -m pip install --upgrade pip -python3 -m pip install --upgrade wheel +time python3 -m pip install --upgrade pip +time python3 -m pip install --upgrade wheel # TODO Update condition when cffi supports 3.13 if ! [[ "$GHA_PYTHON_VERSION" == "3.13" ]]; then PYTHONOPTIMIZE=0 python3 -m pip install cffi ; fi -python3 -m pip install coverage -python3 -m pip install defusedxml -python3 -m pip install olefile -python3 -m pip install -U pytest -python3 -m pip install -U pytest-cov -python3 -m pip install -U pytest-timeout -python3 -m pip install pyroma +time python3 -m pip install coverage +time python3 -m pip install defusedxml +time python3 -m pip install olefile +time python3 -m pip install -U pytest +time python3 -m pip install -U pytest-cov +time python3 -m pip install -U pytest-timeout +time python3 -m pip install pyroma if [[ $(uname) != CYGWIN* ]]; then # TODO Update condition when NumPy supports 3.13 - if ! [[ "$GHA_PYTHON_VERSION" == "3.13" ]]; then python3 -m pip install numpy ; fi + if ! [[ "$GHA_PYTHON_VERSION" == "3.13" ]]; then time python3 -m pip install numpy ; fi # PyQt6 doesn't support PyPy3 if [[ $GHA_PYTHON_VERSION == 3.* ]]; then - sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0 - python3 -m pip install pyqt6 + time sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0 + time python3 -m pip install pyqt6 fi # Pyroma uses non-isolated build and fails with old setuptools @@ -55,20 +55,20 @@ if [[ $(uname) != CYGWIN* ]]; then || $GHA_PYTHON_VERSION == 3.9 ]]; then # To match pyproject.toml - python3 -m pip install "setuptools>=67.8" + time python3 -m pip install "setuptools>=67.8" fi # webp - pushd depends && ./install_webp.sh && popd + pushd depends && time ./install_webp.sh && popd # libimagequant - pushd depends && ./install_imagequant.sh && popd + pushd depends && time ./install_imagequant.sh && popd # raqm - pushd depends && ./install_raqm.sh && popd + pushd depends && time ./install_raqm.sh && popd # extra test images - pushd depends && ./install_extra_test_images.sh && popd + pushd depends && time ./install_extra_test_images.sh && popd else - cd depends && ./install_extra_test_images.sh && cd .. + cd depends && time ./install_extra_test_images.sh && cd .. fi