Skip to content

Commit

Permalink
Try py2app
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidStirling committed Jun 3, 2024
1 parent 7ec815b commit dfec0a0
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
os: [ macos-13, windows-latest ]
include:
- os: macos-13
spec: build_macos.spec
package_name: macos-binary
- os: windows-latest
spec: build_windows.spec
package_name: windows-binary
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -25,11 +23,19 @@ jobs:
cache: 'pip'
- name: Install deps
run: |
python -m pip install setuptools wheel pyinstaller
python -m pip install -r requirements.txt
python -m pip install setuptools wheel
python -m pip install .
python -m pip list
- name: Create Executable
run: pyinstaller ${{ matrix.spec }}
- name: Windows Build
if: matrix.os == 'windows-latest'
run: |
pip install pyinstaller
pyinstaller build_windows.spec
- name: MacOs Build
if: matrix.os == 'macos-13'
run: |
pip install py2app
python setup.py py2app
- name: Artifact upload
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit dfec0a0

Please sign in to comment.