Skip to content

Translated using Weblate (Hungarian) #465

Translated using Weblate (Hungarian)

Translated using Weblate (Hungarian) #465

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
build-win64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: git-for-windows/setup-git-for-windows-sdk@v1
with:
flavor: minimal
- name: Install dependencies
run: |
curl -L https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240513/mpv-dev-x86_64-20240513-git-61f72bd.7z > mpv.7z
7z x mpv.7z
mv libmpv-2.dll mpv-2.dll
pip install wheel
pip install git+https://github.com/pythonnet/pythonnet@438bcdd3f0b2e2ee358b407cfc96e4385e5783fc
pip install .[all] pywebview==3.4 pywin32==304
./gen_pkg.sh --skip-build
python ./get_pywebview_natives.py
shell: bash
- name: PyInstaller Bootloader
run: |
./gen_pkg.sh --get-pyinstaller; cd pyinstaller/bootloader; python ./waf distclean all; cd ..; pip install .
shell: bash
- name: Main Build
run: |
.\build-win.bat
shell: cmd
- name: Artifact Rename
run: |
./artifacts.sh standard
shell: bash
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: windows
path: ${{ github.workspace }}/publish/Installer/*.exe
build-win32:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: git-for-windows/setup-git-for-windows-sdk@v1
with:
flavor: minimal
- name: Install dependencies
run: |
curl -L https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20240513/mpv-dev-i686-20240513-git-61f72bd.7z > mpv.7z
7z x mpv.7z
mv libmpv-2.dll mpv-2.dll
pip install wheel
pip install git+https://github.com/pythonnet/pythonnet@438bcdd3f0b2e2ee358b407cfc96e4385e5783fc
pip install .[all] pywebview==3.4 pywin32==304
./gen_pkg.sh --skip-build
python ./get_pywebview_natives.py
shell: bash
- name: PyInstaller Bootloader
run: |
./gen_pkg.sh --get-pyinstaller; cd pyinstaller/bootloader; python ./waf distclean all; cd ..; pip install .
shell: bash
- name: Legacy Build
run: |
.\build-win-32.bat
shell: cmd
- name: Artifact Rename
run: |
./artifacts.sh legacy
shell: bash
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: windows-legacy32
path: ${{ github.workspace }}/publish/InstallerLegacy/*.exe