build executables with Python 3.9 (#1922)

and also build a x86 Python 3.8 version for Windows 7 compatibility
pull/2105/head
Mike Fährmann 3 years ago
parent f4e3cee6ac
commit 64978b5d37
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -9,24 +9,31 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
python-version: ["3.9"]
architecture: ["x64"]
include:
- os: "windows-2016"
python-version: "3.8"
architecture: "x86"
steps:
- uses: actions/checkout@v2
- name: Set up Python
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }}
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Build executable
run: |
pip install requests requests[socks] urllib3==1.25.11 yt-dlp pyinstaller
pip install requests==2.25.1 requests[socks] urllib3==1.25.11 yt-dlp pyinstaller
python scripts/pyinstaller.py
- name: Upload executable
uses: actions/upload-artifact@v2
with:
name: gallery-dl-${{ matrix.os }}
name: gallery-dl-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python-version }}
path: |
dist

Loading…
Cancel
Save