File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 - uses : actions/checkout@v4
6060
6161 - name : Build Linux (manylinux2014)
62+ shell : bash
6263 env :
6364 VERSION : ${{ needs.tag.outputs.version }}
6465 run : |
@@ -73,15 +74,10 @@ jobs:
7374 ghcr.io/yt-dlp/manylinux2014_x86_64-shared \
7475 bash -c '
7576 set -euo pipefail
76-
7777 py3.13 -m pip install -U pip wheel pyinstaller --no-cache-dir
7878 py3.13 -m pip install ".[all]" --no-cache-dir
7979
80- py3.13 -m PyInstaller \
81- --onefile \
82- --noconfirm \
83- --strip \
84- --noupx \
80+ py3.13 -m PyInstaller --onefile --noconfirm --strip --noupx \
8581 --name bangen \
8682 --distpath dist \
8783 --workpath build \
@@ -104,15 +100,7 @@ jobs:
104100 --optimize 2 \
105101 _entry.py
106102
107- echo "=== GLIBC CHECK ==="
108103 strings dist/bangen | grep GLIBC_ | sort -V | uniq
109-
110- if strings dist/bangen | grep -E "GLIBC_2\.(1[89]|[2-9][0-9])"; then
111- echo "ERROR: requires newer glibc"
112- exit 1
113- fi
114-
115- echo "✅ glibc 2.17 compatible"
116104 '
117105
118106 - run : |
@@ -148,23 +136,21 @@ jobs:
148136 with :
149137 python-version : " 3.11"
150138
151- - run : |
139+ - name : Install deps
140+ shell : bash
141+ run : |
152142 python -m pip install -U pip wheel pyinstaller
153143 pip install ".[all]"
154144
155- - run : |
145+ - name : Build
146+ shell : bash
147+ run : |
156148 printf 'from bangen.app import main\nif __name__=="__main__": main()\n' > _entry.py
157- python -m PyInstaller \
158- --onefile \
159- --noconfirm \
160- --noupx \
161- --name bangen \
162- --distpath dist \
163- --workpath build \
164- --optimize 2 \
165- _entry.py
149+ python -m PyInstaller --onefile --noconfirm --noupx --name bangen --distpath dist --workpath build --optimize 2 _entry.py
166150
167- - run : |
151+ - name : Package
152+ shell : bash
153+ run : |
168154 mkdir -p release
169155 NAME="bangen-${{ matrix.name }}-${{ needs.tag.outputs.version }}"
170156
You can’t perform that action at this time.
0 commit comments