Skip to content

Commit

Permalink
Trying to build on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
boldar99 committed Nov 21, 2023
1 parent 10860a6 commit 70855ae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 24 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
# os: [ ubuntu-latest ]
python-version: [ 3.11 ]
python-version: [ 3.10 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install base package
run: pip install cx_freeze
- name: Build MacOS
# if: matrix.os == 'ubuntu-latest'
run: python deploy.py build
cache: 'pip'
- name: Install dependencies
run:
pip install .
- name: Build ZXLive
run: pyside6-deploy -c pysidedeploy.spec -f
- name: Upload build
uses: actions/upload-artifact@v3
with:
Expand Down
14 changes: 0 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ test = [
"pylint",
"pytest-qt",
]
deploy = ["cx_Freeze"]

[project.urls]
Homepage = "https://github.com/Quantomatic/zxlive"
Expand Down Expand Up @@ -79,16 +78,3 @@ disallow_untyped_defs = true
disable_error_code = [
"import",
]

[tool.distutils.build_exe]
excludes = [
"IPython",
"jupyter",
"pytest",
"mypy",
]
zip_include_packages = [
"encodings",
"zxlive",
"pyzx",
]
6 changes: 3 additions & 3 deletions zxlive/pysidedeploy.spec → pysidedeploy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project_dir = ./zxlive
# source file path
input_file = __main__.py
# directory where exec is stored
exec_directory = ./zxlive
exec_directory = ./build
# path to .pyproject project file
project_file =

Expand All @@ -17,9 +17,9 @@ python_path = python
# python packages to install
# ordered-set = increase compile time performance of nuitka packaging
# zstandard = provides final executable size optimization
packages = nuitka==1.5.5,ordered_set,zstandard
packages = nuitka==1.6.*,ordered_set,zstandard
# buildozer = for deploying Android application
android_packages = buildozer==1.5.0,cython==0.29.33
android_packages = buildozer==1.5.*,cython==0.29.*

[qt]
# comma separated path to qml files required
Expand Down
Empty file added zxlive/__main__.bin
Empty file.

0 comments on commit 70855ae

Please sign in to comment.