Skip to content

Commit

Permalink
Trying to fix build on Mac and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
boldar99 committed Nov 22, 2023
1 parent d663426 commit 57a6a3b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,24 @@ jobs:
- name: Install dependencies
run:
pip install .
- name: Fix pysidedeploy.spec file specific to MacOS
- name: Fix pysidedeploy.spec file - Specific to MacOS
if: matrix.os == 'macos-latest'
run: |
sed -i '' '48i\
--macos-create-app-bundle\
' pysidedeploy.spec
- name: Download Dependencies executable instead of Dependency Walker - Specific to Windows
if: matrix.os == 'windows-latest'
run: |
Invoke-WebRequest -Uri https://github.com/lucasg/Dependencies/releases/download/v1.11.1/Dependencies_x64_Release.zip
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\Dependencies_x64_Release.zip", "$PWD")
mv Dependencies_x64_Release\Dependencies.exe C:\Users\runneradmin\AppData\Local\Nuitka\Nuitka\Cache\downloads\depends\x86_64\depends.exe
- name: Build ZXLive
run: pyside6-deploy -v -f -c pysidedeploy.spec
run: pyside6-deploy -v -f -c pysidedeploy.spec --keep-deployment-files
- name: Fix deployment file location - Specific to MacOS
if: matrix.os == 'macos-latest'
run: mv zxlive/deployment/__main__.app/Contents/MacOS/__main__ build/__main__.bin
- name: Upload build
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 57a6a3b

Please sign in to comment.