This commit is contained in:
Jesse Bannon 2023-02-23 13:10:07 -08:00
parent 486ee9d353
commit ab917907c1

View file

@ -116,7 +116,7 @@ jobs:
id: runcmd id: runcmd
with: with:
arch: ${{ matrix.arch }} arch: ${{ matrix.arch }}
distro: alpine_latest distro: stretch
# Mount the artifacts directory as /artifacts in the container # Mount the artifacts directory as /artifacts in the container
dockerRunArgs: | dockerRunArgs: |
@ -124,7 +124,14 @@ jobs:
# Set an output parameter `uname` for use in subsequent steps # Set an output parameter `uname` for use in subsequent steps
run: | run: |
apk add python3 python3-dev py3-pip musl-dev libc-dev libffi-dev gcc g++ pwgen zlib-dev rust cargo apt-get update -y
apt-get install -y wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
wget https://www.python.org/ftp/python/3.10.10/Python-3.10.10.tar.xz
tar -xf Python-3.10.10.tar.xz
cd Python-3.10.10 && ./configure --with-ensurepip=install --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make -j 8
make altinstall
python3.10 --version
pip3 install --upgrade pip pip3 install --upgrade pip
pip3 install pyinstaller pip3 install pyinstaller
pyinstaller --log-level=DEBUG ytdl-sub.spec pyinstaller --log-level=DEBUG ytdl-sub.spec