Skip to content

Windows application #68

Windows application

Windows application #68

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Windows application
on:
workflow_dispatch:
push:
# Pattern matched against refs/tags
tags:
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel pyusb==1.3.0 pyserial==3.5 gpib-ctypes==0.3.0
pip install pyinstaller==6.7.0 pyinstaller-versionfile==2.1.1
pip install .
- name: Build with pyinstaller
run: |
pyinstaller pyinstaller.spec
- name: Publish
uses: actions/upload-artifact@v4
with:
name: diode-measurement
path: dist/diode-measurement*.exe