Skip to content

Add pyinstaller generation #1

Add pyinstaller generation

Add pyinstaller generation #1

Workflow file for this run

# Generate pyinstaller executables for Windows, macOS, and Linux
name: Generate PyInstaller
on: [push, pull_request]
jobs:
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -r requirements_dev.txt
pip install -r doc/requirements.txt
pip install pyinstaller
- name: Generate Windows executable
run: |
pyinstaller --onefile --name=pybenchiio cli.py
- name: Upload Windows executable
uses: actions/upload-artifact@v2
with:
name: pybenchiio
path: dist/pybenchiio.exe