Skip to content

Merge pull request #32 from ho0ber/dependabot/pip/pillow-10.2.0 #82

Merge pull request #32 from ho0ber/dependabot/pip/pillow-10.2.0

Merge pull request #32 from ho0ber/dependabot/pip/pillow-10.2.0 #82

Workflow file for this run

name: Build executable
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
Windows-Build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest wheel
python -m pip install -r requirements.txt
python -m pip install -r build_requirements.txt
python -m pip uninstall enum34 -y
- name: Make Havomi Executable
run: |
pyinstaller -F --add-data "static;static" --icon "static\images\icon.ico" --noconsole -n havomi main.py
- name: Make Havomi Debug Executable
run: |
pyinstaller -F --add-data "static;static" --icon "static\images\icon.ico" -n havomi_debug main.py
- name: Make MIDI Tool Executable
run: |
pyinstaller -F -n midi_tool scripts/midi_tool.py
- name: Upload havomi artifact
uses: actions/upload-artifact@v2
with:
name: Havomi
path: dist/havomi.exe
- name: Upload havomi_debug artifact
uses: actions/upload-artifact@v2
with:
name: Havomi Debug Tools
path: dist/havomi_debug.exe
- name: Upload MIDI Tool artifact
uses: actions/upload-artifact@v2
with:
name: Havomi Debug Tools
path: dist/midi_tool.exe