Skip to content

Commit

Permalink
Merge branch 'ci-add-quite-install-flags' into 'master'
Browse files Browse the repository at this point in the history
Add -qq flag to pip, apt and apt-get

See merge request barkhauseninstitut/wicon/hermespy!180
  • Loading branch information
adlerjan committed Apr 24, 2024
2 parents f08363c + 64b26f6 commit 39d4fed
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Build Python 3.11:
stage: build
image: python:3.11
before_script:
- apt update && apt-get install -y build-essential octave pandoc python-dev-is-python3
- pip install --upgrade setuptools wheel pybind11 scikit-build cmake build
- apt -qq update && apt-get -qq install -y build-essential octave pandoc python-dev-is-python3
- pip install -qq --upgrade setuptools wheel pybind11 scikit-build cmake build
script:
- export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
- python -m build
Expand All @@ -42,8 +42,8 @@ Build Python 3.10:
stage: build
image: python:3.10
before_script:
- apt update && apt-get install -y build-essential octave pandoc python-dev-is-python3
- pip install --upgrade setuptools wheel pybind11 scikit-build cmake build
- apt -qq update && apt-get -qq install -y build-essential octave pandoc python-dev-is-python3
- pip install -qq --upgrade setuptools wheel pybind11 scikit-build cmake build
script:
- export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
- python -m build
Expand All @@ -55,8 +55,8 @@ Build Python 3.9:
stage: build
image: python:3.9
before_script:
- apt update && apt-get install -y build-essential octave pandoc python-dev-is-python3
- pip install --upgrade setuptools wheel pybind11 scikit-build cmake build
- apt -qq update && apt-get -qq install -y build-essential octave pandoc python-dev-is-python3
- pip install -qq --upgrade setuptools wheel pybind11 scikit-build cmake build
script:
- export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
- python -m build
Expand All @@ -69,10 +69,10 @@ Unit Testing:
dependencies:
- Build Python 3.11
before_script:
- apt update && apt-get install -y octave portaudio19-dev python-dev-is-python3 unzip # remove for docker
- pip install -e .\[develop,test,quadriga,audio\]
- apt -qq update && apt-get -qq install -y octave portaudio19-dev python-dev-is-python3 unzip # remove for docker
- pip install -qq -e .\[develop,test,quadriga,audio\]
- unzip dist/$HERMES_WHEEL_11 "hermespy/fec/aff3ct/*.so"
- pip install pyzmq>=25.1.1 usrp-uhd-client memray>=1.11.0
- pip install -qq pyzmq>=25.1.1 usrp-uhd-client memray>=1.11.0
script:
- coverage run --include=hermespy/* ./scripts/performance/test_install_memray.py ./tests/unit_tests/
after_script:
Expand All @@ -92,9 +92,9 @@ Integration Testing:
dependencies:
- Build Python 3.11
before_script:
- apt update && apt-get install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install memray
- apt -qq update && apt-get -qq install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install -qq dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install -qq memray
script:
- python ./scripts/performance/test_install_memray.py ./tests/integration_tests/
artifacts:
Expand All @@ -107,9 +107,9 @@ Integrity Python 3.11:
dependencies:
- Build Python 3.11
before_script:
- apt update && apt-get install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install memray
- apt -qq update && apt-get install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install -qq dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install -qq memray
script:
- python ./scripts/performance/test_install_memray.py ./tests/integrity_tests/
artifacts:
Expand All @@ -122,9 +122,9 @@ Integrity Python 3.10:
dependencies:
- Build Python 3.10
before_script:
- apt update && apt-get install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install dist/$HERMES_WHEEL_10\[test,quadriga,audio\]
- pip install memray
- apt -qq update && apt-get -qq install -y octave portaudio19-dev python-dev-is-python3 # remove for docker
- pip install -qq dist/$HERMES_WHEEL_10\[test,quadriga,audio\]
- pip install -qq memray
script:
- python ./scripts/performance/test_install_memray.py ./tests/integrity_tests/
artifacts:
Expand All @@ -137,8 +137,8 @@ Integrity Python 3.9:
dependencies:
- Build Python 3.9
before_script:
- pip install dist/$HERMES_WHEEL_09\[test,quadriga,audio\]
- pip install memray
- pip install -qq dist/$HERMES_WHEEL_09\[test,quadriga,audio\]
- pip install -qq memray
script:
- python ./scripts/performance/test_install_memray.py ./tests/integrity_tests/
artifacts:
Expand All @@ -148,16 +148,16 @@ Integrity Python 3.9:
PEP8 Testing:
stage: lint
before_script:
- pip install dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install flake8
- pip install -qq dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install -qq flake8
script:
- flake8 hermespy/

Type Checking:
stage: lint
before_script:
- pip install dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install mypy
- pip install -qq dist/$HERMES_WHEEL_11\[test,quadriga,audio\]
- pip install -qq mypy
script:
- mypy

Expand All @@ -166,8 +166,8 @@ pages:
only:
- master
before_script:
- apt update && apt-get install -y octave portaudio19-dev python-dev-is-python3 pandoc graphviz # remove for docker
- pip install dist/$HERMES_WHEEL_11\[test,documentation,quadriga,audio\]
- apt -qq update && apt-get -qq install -y octave portaudio19-dev python-dev-is-python3 pandoc graphviz # remove for docker
- pip install -qq dist/$HERMES_WHEEL_11\[test,documentation,quadriga,audio\]
script:
- sphinx-build ./docssource/ ./public/
artifacts:
Expand Down

0 comments on commit 39d4fed

Please sign in to comment.