Skip to content

Commit

Permalink
Fix call to cxfreeze
Browse files Browse the repository at this point in the history
  • Loading branch information
iffyloop committed Apr 5, 2024
1 parent 1e2f4c1 commit 5e8be68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- run: python -m pip install torch torchvision torchaudio demucs SoundFile cx-Freeze
- run: python -m cxfreeze main.py --target-dir=demucs-cxfreeze-mac --target-name=demucs-cxfreeze --packages=torch --includes=demucs.htdemucs
- run: pip install torch torchvision torchaudio demucs SoundFile cx-Freeze
- run: cxfreeze main.py --target-dir=demucs-cxfreeze-mac --target-name=demucs-cxfreeze --packages=torch --includes=demucs.htdemucs
- run: ditto -c -k --sequesterRsrc --keepParent demucs-cxfreeze-mac demucs-cxfreeze-mac.zip
- uses: softprops/action-gh-release@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- run: python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
- run: python -m pip install demucs SoundFile cx-Freeze
- run: python -m cxfreeze main.py --target-dir=demucs-cxfreeze-win-cuda --target-name=demucs-cxfreeze --packages=torch --includes=demucs.htdemucs
- run: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
- run: pip install demucs SoundFile cx-Freeze
- run: cxfreeze main.py --target-dir=demucs-cxfreeze-win-cuda --target-name=demucs-cxfreeze --packages=torch --includes=demucs.htdemucs
- run: Invoke-WebRequest -Uri https://www.7-zip.org/a/7zr.exe -OutFile 7zr.exe
- run: Invoke-WebRequest -Uri https://www.7-zip.org/a/7z2201-x64.exe -OutFile 7zInstaller-x64.exe
- run: .\7zr.exe x "7zInstaller-x64.exe"
Expand Down

0 comments on commit 5e8be68

Please sign in to comment.