Instruction updates #1
Workflow file for this run
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: Build Windows Executables (AMD64 + ARM64) | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - '*' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-windows: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - runner: windows-2022 | |
| arch: amd64 | |
| pip_packages: "pyqt6 pyqtgraph markdown bleak numpy scipy numba fastplotlib PyOpenGL pybind11 setuptools cobs tamp wmi" | |
| - runner: windows-11-arm | |
| arch: arm64 | |
| pip_packages: "pyqt6 pyqtgraph markdown bleak numpy scipy fastplotlib PyOpenGL pybind11 setuptools cobs tamp wmi" | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install app dependencies | |
| shell: pwsh | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ${{ matrix.pip_packages }} | |
| - name: Build executable archive via release.ps1 (with C-accelerated line parser) | |
| shell: pwsh | |
| run: | | |
| .\scripts\release.ps1 -PythonBin python -BuildExecutable -BuildCAccelerated | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: SerialUI-windows-${{ matrix.arch }}-${{ github.ref_name }}-${{ github.run_number }} | |
| if-no-files-found: error | |
| retention-days: 14 | |
| path: | | |
| dist/SerialUI-*.zip | |
| dist/SerialUI |