Skip to content

Windows application #16

Windows application

Windows application #16

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@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: pqc-artifact
path: dist
- name: Build installer
run: |
$VERSION = python -c "import pqc; print(pqc.__version__)"
ISCC.exe /DVersion=$VERSION innosetup.iss
- name: Publish installer
uses: actions/upload-artifact@v4
with:
name: pqc-setup-artifact
path: dist/pqc*.exe