Skip to content

Commit 128e4ef

Browse files
authored
github action for pyinstaller cross-platform build
1 parent f37df80 commit 128e4ef

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
tags:
4+
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
5+
6+
jobs:
7+
build:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-python@v2
17+
with:
18+
python-version: 3.10
19+
20+
- run: pip install -r requirements.txt pyinstaller
21+
- run: python scripts/build_app.py
22+
# Optionally verify that it works (provided that it does not need user interaction)
23+
#- run: ./dist/your-code/your-code
24+
#- uses: actions/upload-artifact@v2
25+
# with:
26+
# path: dist/*

0 commit comments

Comments
 (0)