@@ -34,53 +34,53 @@ jobs:
3434 - name : Lint with black and isort
3535 run : pdm run lint-check
3636
37- build :
38- needs : lint
39- runs-on : ${{ matrix.os }}
40- strategy :
41- fail-fast : false
42- matrix :
43- os : [ubuntu-latest, macos-latest]
44- python-version : ["3.10"]
45- package-type : ["onefile", "onedir"]
46- steps :
47- - uses : actions/checkout@v3
48- - uses : actions/setup-python@v4
49- with :
50- python-version : ${{ matrix.python-version }}
51- - uses : pdm-project/setup-pdm@v3
52- - name : Install dependencies
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
75- - name : Build pyinstaller package
76- env :
77- PACKAGE_TYPE : ${{ matrix.package-type }}
78- run : pdm run build.py
79- - name : Upload artifact
80- uses : actions/upload-artifact@v3
81- with :
82- name : fish-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.package-type }}
83- path : dist
37+ # build:
38+ # needs: lint
39+ # runs-on: ${{ matrix.os }}
40+ # strategy:
41+ # fail-fast: false
42+ # matrix:
43+ # os: [ubuntu-latest, macos-latest]
44+ # python-version: ["3.10"]
45+ # package-type: ["onefile", "onedir"]
46+ # steps:
47+ # - uses: actions/checkout@v3
48+ # - uses: actions/setup-python@v4
49+ # with:
50+ # python-version: ${{ matrix.python-version }}
51+ # - uses: pdm-project/setup-pdm@v3
52+ # - name: Install dependencies
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
75+ # - name: Build pyinstaller package
76+ # env:
77+ # PACKAGE_TYPE: ${{ matrix.package-type }}
78+ # run: pdm run build.py
79+ # - name: Upload artifact
80+ # uses: actions/upload-artifact@v3
81+ # with:
82+ # name: fish-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.package-type }}
83+ # path: dist
8484
8585 # publish:
8686 # needs: lint
0 commit comments