updating workflow #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pyinstaller package | |
on: | |
push: | |
branches: [ master, feature ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build & Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04]#, ubuntu-24.04] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
#python-version: '>=3.9 <3.14' | |
python-version: '3.10' | |
- name: Install | |
run: | | |
python3.10 -m pip install --upgrade pip | |
python3.10 -m pip install pyserial | |
python3.10 -m pip install pyinstaller | |
python3.10 -m pip install . | |
- name: Verify Installations | |
run: | | |
python3.10 -m pip show isp_programmer | |
python3.10 -m pip show pyserial | |
- name: Make executable | |
uses: sayyid5416/pyinstaller@v1 | |
with: | |
spec: 'packaging/gui-tklinux.spec' | |
upload_exe_with_name: 'isp-programmer-${{ matrix.os }}' |