Update main.yml

This commit is contained in:
Yonokid
2025-06-12 14:58:16 -04:00
parent b254d64b4f
commit d732ef75e2

View File

@@ -37,17 +37,30 @@ jobs:
rm -rf PyTaiko.build rm -rf PyTaiko.build
shell: bash shell: bash
continue-on-error: true continue-on-error: true
- name: Debug - Check file contents
run: |
echo "=== Contents of libs/song_hash.py ==="
cat libs/song_hash.py | head -20
echo "=== Searching for pandas ==="
grep -n "pandas" . -r --exclude-dir=.git
echo "=== Python files with imports ==="
find . -name "*.py" -exec grep -l "import pandas\|from pandas" {} \;
- name: Build Executable - name: Build Executable
run: | run: |
uv run nuitka --mode=app --remove-output --output-dir=. --include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit --noinclude-setuptools-mode=nofollow --noinclude-IPython-mode=nofollow PyTaiko.py # Create completely isolated environment
mkdir -p isolated-build
cp -r . isolated-build/
cd isolated-build
# Remove all Python cache
find . -name "*.pyc" -delete
find . -name "__pycache__" -type d -exec rm -rf {} + || true
# Build with maximum isolation
uv run nuitka \
--mode=app \
--remove-output \
--output-dir=../build-output \
--no-cached-results \
--disable-cache=all \
--python-flag=isolated \
--temp-dir=../nuitka-temp \
--include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit \
--noinclude-setuptools-mode=nofollow \
--noinclude-IPython-mode=nofollow \
PyTaiko.py
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: