build: win7 32bit support (#298)
This commit is contained in:
parent
3cb1929dc8
commit
4304c71f89
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
dist/TgWsProxy_windows.exe
|
dist/TgWsProxy_windows.exe
|
||||||
|
|
||||||
build-win7:
|
build-win7-64bit:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -58,6 +58,7 @@ jobs:
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.8"
|
||||||
|
architecture: "x64"
|
||||||
cache: "pip"
|
cache: "pip"
|
||||||
|
|
||||||
- name: Install dependencies (Win7-compatible)
|
- name: Install dependencies (Win7-compatible)
|
||||||
|
|
@ -70,13 +71,44 @@ jobs:
|
||||||
run: pyinstaller packaging/windows.spec --noconfirm
|
run: pyinstaller packaging/windows.spec --noconfirm
|
||||||
|
|
||||||
- name: Rename artifact
|
- name: Rename artifact
|
||||||
run: mv dist/TgWsProxy.exe dist/TgWsProxy_windows_7.exe
|
run: mv dist/TgWsProxy.exe dist/TgWsProxy_windows_7_64bit.exe
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: TgWsProxy-win7
|
name: TgWsProxy-win7-64bit
|
||||||
path: dist/TgWsProxy_windows_7.exe
|
path: dist/TgWsProxy_windows_7_64bit.exe
|
||||||
|
|
||||||
|
build-win7-32bit:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Python 3.8 32-bit (Win7 x86)
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.8"
|
||||||
|
architecture: "x86"
|
||||||
|
cache: "pip"
|
||||||
|
|
||||||
|
- name: Install dependencies (Win7 x86)
|
||||||
|
run: pip install ".[win7]"
|
||||||
|
|
||||||
|
- name: Install PyInstaller (Win7 x86)
|
||||||
|
run: pip install "pyinstaller==5.13.2"
|
||||||
|
|
||||||
|
- name: Build EXE with PyInstaller (Win7 32-bit)
|
||||||
|
run: pyinstaller packaging/windows.spec --noconfirm
|
||||||
|
|
||||||
|
- name: Rename artifact
|
||||||
|
run: mv dist/TgWsProxy.exe dist/TgWsProxy_windows_7_32bit.exe
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: TgWsProxy-win7-32bit
|
||||||
|
path: dist/TgWsProxy_windows_7_32bit.exe
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
@ -317,7 +349,7 @@ jobs:
|
||||||
dist/TgWsProxy_linux_amd64.deb
|
dist/TgWsProxy_linux_amd64.deb
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [build, build-win7, build-macos, build-linux]
|
needs: [build, build-win7-64bit, build-win7-32bit, build-macos, build-linux]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.inputs.make_release == 'true' }}
|
if: ${{ github.event.inputs.make_release == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -327,10 +359,16 @@ jobs:
|
||||||
name: TgWsProxy
|
name: TgWsProxy
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Download Win7 build
|
- name: Download Win7 (64bit) build
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: TgWsProxy-win7
|
name: TgWsProxy-win7-64bit
|
||||||
|
path: dist
|
||||||
|
|
||||||
|
- name: Download Win7 (32bit) build
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: TgWsProxy-win7-32bit
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Download macOS build
|
- name: Download macOS build
|
||||||
|
|
@ -354,7 +392,8 @@ jobs:
|
||||||
## TG WS Proxy ${{ github.event.inputs.version }}
|
## TG WS Proxy ${{ github.event.inputs.version }}
|
||||||
files: |
|
files: |
|
||||||
dist/TgWsProxy_windows.exe
|
dist/TgWsProxy_windows.exe
|
||||||
dist/TgWsProxy_windows_7.exe
|
dist/TgWsProxy_windows_7_64bit.exe
|
||||||
|
dist/TgWsProxy_windows_7_32bit.exe
|
||||||
dist/TgWsProxy_macos_universal.dmg
|
dist/TgWsProxy_macos_universal.dmg
|
||||||
dist/TgWsProxy_linux_amd64
|
dist/TgWsProxy_linux_amd64
|
||||||
dist/TgWsProxy_linux_amd64.deb
|
dist/TgWsProxy_linux_amd64.deb
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,8 @@ Tray-приложение хранит данные в:
|
||||||
Минимально поддерживаемые версии ОС для текущих бинарных сборок:
|
Минимально поддерживаемые версии ОС для текущих бинарных сборок:
|
||||||
|
|
||||||
- Windows 10+ для `TgWsProxy_windows.exe`
|
- Windows 10+ для `TgWsProxy_windows.exe`
|
||||||
- Windows 7 для `TgWsProxy_windows_7.exe`
|
- Windows 7 (x64) для `TgWsProxy_windows_7_64bit.exe`
|
||||||
|
- Windows 7 (x32) для `TgWsProxy_windows_7_32bit.exe`
|
||||||
- Intel macOS 10.15+
|
- Intel macOS 10.15+
|
||||||
- Apple Silicon macOS 11.0+
|
- Apple Silicon macOS 11.0+
|
||||||
- Linux x86_64 (требуется AppIndicator для системного трея)
|
- Linux x86_64 (требуется AppIndicator для системного трея)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue