build executables with Python 3.9 (#1922)
and also build a x86 Python 3.8 version for Windows 7 compatibility
This commit is contained in:
17
.github/workflows/executables.yml
vendored
17
.github/workflows/executables.yml
vendored
@@ -9,24 +9,31 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.architecture }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: ${{ matrix.python-version }}
|
||||||
|
architecture: ${{ matrix.architecture }}
|
||||||
|
|
||||||
- name: Build executable
|
- name: Build executable
|
||||||
run: |
|
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
|
python scripts/pyinstaller.py
|
||||||
|
|
||||||
- name: Upload executable
|
- name: Upload executable
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: gallery-dl-${{ matrix.os }}
|
name: gallery-dl-${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python-version }}
|
||||||
path: |
|
path: |
|
||||||
dist
|
dist
|
||||||
|
|||||||
Reference in New Issue
Block a user