mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update python-app.yml
This commit is contained in:
28
.github/workflows/python-app.yml
vendored
28
.github/workflows/python-app.yml
vendored
@@ -44,6 +44,14 @@ jobs:
|
||||
mingw-w64-x86_64-speex
|
||||
mingw-w64-x86_64-cmake
|
||||
mingw-w64-x86_64-pkg-config
|
||||
mingw-w64-x86_64-libjpeg-turbo
|
||||
mingw-w64-x86_64-libpng
|
||||
mingw-w64-x86_64-libtiff
|
||||
mingw-w64-x86_64-libwebp
|
||||
mingw-w64-x86_64-openjpeg2
|
||||
mingw-w64-x86_64-lcms2
|
||||
mingw-w64-x86_64-zlib
|
||||
mingw-w64-x86_64-freetype
|
||||
|
||||
- name: Verify local PortAudio library (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
@@ -220,6 +228,26 @@ jobs:
|
||||
run: |
|
||||
uv sync
|
||||
|
||||
- name: Build Pillow from source (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
echo "=== Building Pillow from source ==="
|
||||
|
||||
# Set up environment variables for the build
|
||||
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
export INCLUDE="/mingw64/include:$INCLUDE"
|
||||
export LIB="/mingw64/lib:$LIB"
|
||||
|
||||
# Remove any existing Pillow installation
|
||||
uv pip uninstall -y pillow pillow-simd || true
|
||||
|
||||
# Install build dependencies
|
||||
uv pip install --no-binary :all: --no-build-isolation pillow
|
||||
|
||||
echo "=== Pillow build completed ==="
|
||||
uv pip show pillow
|
||||
|
||||
- name: Install Nuitka
|
||||
run: |
|
||||
uv add nuitka
|
||||
|
||||
Reference in New Issue
Block a user