Update build.yml

This commit is contained in:
InfernumVII 2026-03-17 02:09:21 +03:00 committed by GitHub
parent 4595380e73
commit e3f1d04147
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ jobs:
$version = python -c "import PyInstaller; print(PyInstaller.__version__)" $version = python -c "import PyInstaller; print(PyInstaller.__version__)"
git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src
cd _pyinstaller_src/bootloader cd _pyinstaller_src/bootloader
$env:CFLAGS = "-Wno-error=old-style-definition"
python ./waf all --target-arch=64bit python ./waf all --target-arch=64bit
$dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))" $dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))"
New-Item -ItemType Directory -Force -Path $dest New-Item -ItemType Directory -Force -Path $dest
@ -62,6 +63,7 @@ jobs:
$version = python -c "import PyInstaller; print(PyInstaller.__version__)" $version = python -c "import PyInstaller; print(PyInstaller.__version__)"
git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src git clone --depth 1 --branch "v$version" https://github.com/pyinstaller/pyinstaller.git _pyinstaller_src
cd _pyinstaller_src/bootloader cd _pyinstaller_src/bootloader
$env:CFLAGS = "-Wno-error=old-style-definition"
python ./waf all --target-arch=64bit python ./waf all --target-arch=64bit
$dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))" $dest = python -c "import PyInstaller; import os; print(os.path.join(os.path.dirname(PyInstaller.__file__), 'bootloader', 'Windows-64bit-intel'))"
New-Item -ItemType Directory -Force -Path $dest New-Item -ItemType Directory -Force -Path $dest