updating workflow #13
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.10' | ||
| cache: 'pip' | ||
| - name: Check Python Version | ||
| run: | | ||
| python --version | ||
| which python | ||
| - name: Install | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| python -m pip install pyserial | ||
| python -m pip install pyinstaller | ||
| python -m pip install . | ||
| - name: Verify Installations | ||
| run: | | ||
| python -m pip show isp_programmer | ||
| python -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 }}' | ||