Skip to content

Commit 26438ed

Browse files
committed
Unify builds and update build actions and makefile
1 parent 3d732e3 commit 26438ed

File tree

3 files changed

+3
-31
lines changed

3 files changed

+3
-31
lines changed

.github/workflows/manual-build-windows.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/manual-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: ['ubuntu-latest', 'macos-latest']
13+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
1414

1515
steps:
1616
- uses: actions/checkout@v2
@@ -19,7 +19,7 @@ jobs:
1919
python-version: 3.9
2020
- run: pip install -r requirements.txt
2121
- run: python scripts/download-tools.py
22-
- run: pyinstaller openandroidinstaller/openandroidinstaller.py --noconsole --noconfirm --onefile --icon "openandroidinstaller/assets/favicon.ico" --add-data "openandroidinstaller/assets:assets" --add-data "openandroidinstaller/bin:bin" --windowed
22+
- run: python scripts/build.py
2323
# Optionally verify that it works (provided that it does not need user interaction)
2424
#- run: ./dist/your-code/your-code
2525
- uses: actions/upload-artifact@v3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ app:
1515
poetry run python openandroidinstaller/openandroidinstaller.py
1616

1717
build-app:
18-
poetry run pyinstaller openandroidinstaller/openandroidinstaller.py --noconsole --noconfirm --onefile --icon "openandroidinstaller/assets/favicon.ico" --add-data "openandroidinstaller/assets:assets" --add-data "openandroidinstaller/bin/:bin" --windowed
18+
poetry run python scripts/build.py
1919

2020
clean-build:
2121
rm -rf build/ dist/

0 commit comments

Comments
 (0)