https://github.com/guillaumefalourd/poc-pyinstaller
POC using PyInstaller with Github Actions
https://github.com/guillaumefalourd/poc-pyinstaller
github-actions poc pyinstaller
Last synced: 8 months ago
JSON representation
POC using PyInstaller with Github Actions
- Host: GitHub
- URL: https://github.com/guillaumefalourd/poc-pyinstaller
- Owner: GuillaumeFalourd
- Created: 2021-11-25T21:50:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T16:28:33.000Z (almost 4 years ago)
- Last Synced: 2025-01-12T06:07:13.266Z (9 months ago)
- Topics: github-actions, poc, pyinstaller
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# poc-pyinstaller
[](https://github.com/GuillaumeFalourd/poc-pyinstaller/actions/workflows/pyinstaller.yml)
POC using PyInstaller with Github Actions to generate binaries from a python script.
## Demo
Workflow run: https://github.com/GuillaumeFalourd/poc-pyinstaller/actions/runs/1505378109

## Workflow
```yaml
name: PyInstalleron:
push:
workflow_dispatch:jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2
with:
python-version: 3.7- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller poc.py
# Optional to check the files
- run: |
cd ./dist/poc
ls
- uses: actions/upload-artifact@v2
with:
name: artifact-${{ matrix.os }}
path: dist/*
```