File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 with :
1818 python-version : " 3.10"
1919 - uses : pdm-project/setup-pdm@v3
20- - name : Install dependencies
21- run : pdm sync
20+ - name : Install dependencies for lint job
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install -y \
24+ ca-certificates \
25+ libsox-dev \
26+ build-essential \
27+ cmake \
28+ libasound-dev \
29+ portaudio19-dev \
30+ libportaudio2 \
31+ libportaudiocpp0 \
32+ ffmpeg
33+ pdm sync
2234 - name : Lint with black and isort
2335 run : pdm run lint-check
2436
@@ -38,15 +50,36 @@ jobs:
3850 python-version : ${{ matrix.python-version }}
3951 - uses : pdm-project/setup-pdm@v3
4052 - name : Install dependencies
41- run : pdm sync
53+ run : |
54+ if [ $RUNNER_OS == "Linux" ]; then
55+ sudo apt-get update
56+ sudo apt-get install -y \
57+ ca-certificates \
58+ libsox-dev \
59+ build-essential \
60+ cmake \
61+ libasound-dev \
62+ portaudio19-dev \
63+ libportaudio2 \
64+ libportaudiocpp0 \
65+ ffmpeg
66+ elif [ $RUNNER_OS == "macOS" ]; then
67+ brew install \
68+ ca-certificates \
69+ sox \
70+ cmake \
71+ portaudio \
72+ ffmpeg
73+ fi
74+ pdm sync
4275 - name : Build pyinstaller package
4376 env :
4477 PACKAGE_TYPE : ${{ matrix.package-type }}
4578 run : pdm run build.py
4679 - name : Upload artifact
4780 uses : actions/upload-artifact@v3
4881 with :
49- name : rtvc -${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.package-type }}
82+ name : fish -${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.package-type }}
5083 path : dist
5184
5285 # publish:
You can’t perform that action at this time.
0 commit comments