Skip to content

Commit 262174b

Browse files
Add os dependencies.
1 parent 507ae91 commit 262174b

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,59 @@ jobs:
1717
uses: actions/setup-python@v3
1818
with:
1919
python-version: ${{ matrix.python-version }}
20+
21+
- name: Install OS dependencies
22+
run: |
23+
case "${{ runner.os }}" in
24+
Linux)
25+
sudo apt-get update -yy
26+
sudo apt-get install -yy \
27+
ccache \
28+
cm-super \
29+
dvipng \
30+
ffmpeg \
31+
fonts-noto-cjk \
32+
gdb \
33+
gir1.2-gtk-3.0 \
34+
graphviz \
35+
inkscape \
36+
lcov \
37+
libcairo2 \
38+
libcairo2-dev \
39+
libffi-dev \
40+
libgeos-dev \
41+
libgirepository1.0-dev \
42+
libsdl2-2.0-0 \
43+
libxkbcommon-x11-0 \
44+
libxcb-icccm4 \
45+
libxcb-image0 \
46+
libxcb-keysyms1 \
47+
libxcb-randr0 \
48+
libxcb-render-util0 \
49+
libxcb-xinerama0 \
50+
lmodern \
51+
fonts-freefont-otf \
52+
texlive-pictures \
53+
pkg-config \
54+
qtbase5-dev \
55+
texlive-fonts-recommended \
56+
texlive-latex-base \
57+
texlive-latex-extra \
58+
texlive-latex-recommended \
59+
texlive-luatex \
60+
texlive-xetex \
61+
ttf-wqy-zenhei
62+
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
63+
sudo apt install -yy libopengl0
64+
fi
65+
;;
66+
macOS)
67+
brew install ccache
68+
brew tap homebrew/cask-fonts
69+
brew install font-noto-sans-cjk-sc
70+
;;
71+
esac
72+
2073
- name: Install dependencies
2174
run: |
2275
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)