Skip to content

Windows application #39

Windows application

Windows application #39

Workflow file for this run

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@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r pyinstaller/requirements.txt
- name: Build with pyinstaller
run: |
pyinstaller pyinstaller/windows_app.spec
- name: Publish
uses: actions/upload-artifact@v4
with:
name: sqc-artifact
path: dist
- name: Build installer
run: |
$VERSION = python -c "import sqc; print(sqc.__version__)"
ISCC.exe /DVersion=$VERSION innosetup.iss
- name: Publish installer
uses: actions/upload-artifact@v4
with:
name: sqc-setup-artifact
path: dist/sqc*.exe