Build Pylon Camera Viewer #26
This file contains 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 Pylon Camera Viewer | |
on: | |
workflow_dispatch: | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
build: | |
name: Build Pylon Camera Viewer | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
# - name: Install UPX | |
# uses: crazy-max/ghaction-upx@v2 | |
# with: | |
# install-only: true | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Resolving dependencies... | |
run: pip install -r src/pyloncam/requirements.txt pyinstaller | |
- name: Building... | |
run: pyinstaller src/pyloncam/main.spec | |
- name: Upload binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Camera Monitor | |
path: dist/pyloncam/ |