Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaumefalourd/poc-pyinstaller
POC using PyInstaller with Github Actions
https://github.com/guillaumefalourd/poc-pyinstaller
github-actions poc pyinstaller
Last synced: about 2 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T16:28:33.000Z (about 3 years ago)
- Last Synced: 2024-10-12T14:38:47.385Z (3 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
[![PyInstaller](https://github.com/GuillaumeFalourd/poc-pyinstaller/actions/workflows/pyinstaller.yml/badge.svg)](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
![Screen Shot 2021-11-25 at 19 11 39](https://user-images.githubusercontent.com/22433243/143503852-364abe39-e817-4ef5-af8e-536e54d6a46d.png)
## 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/[email protected]
- 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/*
```