Skip to content

ci: Don't install recommended packages on Ubuntu #26505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ jobs:
Linux)
echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-retries
sudo apt-get update -yy
sudo apt-get install -yy \
sudo apt-get install -yy --no-install-recommends \
ccache \
cm-super \
dvipng \
ffmpeg \
fonts-freefont-otf \
fonts-noto-cjk \
fonts-wqy-zenhei \
gdb \
gir1.2-gtk-3.0 \
graphviz \
Expand All @@ -123,21 +125,20 @@ jobs:
libxcb-render-util0 \
libxcb-xinerama0 \
lmodern \
fonts-freefont-otf \
texlive-pictures \
pkg-config \
qtbase5-dev \
texlive-fonts-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-luatex \
texlive-xetex \
ttf-wqy-zenhei
texlive-pictures \
texlive-xetex
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
sudo apt-get install -yy libopengl0
sudo apt-get install -yy --no-install-recommends libopengl0
else # ubuntu-22.04
sudo apt-get install -yy gir1.2-gtk-4.0 libnotify4
sudo apt-get install -yy --no-install-recommends \
gir1.2-gtk-4.0 libnotify4
fi
;;
macOS)
Expand Down Expand Up @@ -178,10 +179,10 @@ jobs:
~/.cache/matplotlib
!~/.cache/matplotlib/tex.cache
!~/.cache/matplotlib/test_cache
key: 3-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
key: 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
restore-keys: |
3-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
3-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-

- name: Install Python dependencies
run: |
Expand Down
7 changes: 4 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ stages:
linux)
echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-retries
sudo apt update
sudo apt install \
sudo apt install --no-install-recommends \
cm-super \
dvipng \
ffmpeg \
fonts-noto-cjk \
fonts-wqy-zenhei \
gdb \
gir1.2-gtk-3.0 \
graphviz \
Expand All @@ -111,8 +112,8 @@ stages:
texlive-latex-base \
texlive-latex-extra \
texlive-latex-recommended \
texlive-xetex texlive-luatex \
ttf-wqy-zenhei
texlive-luatex \
texlive-xetex
;;
darwin)
brew install --cask xquartz
Expand Down