Test (3) #4
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: Executable Build | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: [ "main", "master" ] | |
pull_request: | |
branches: [ "main", "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
# Windows is currently the only platform this action supports | |
runs-on: windows-latest | |
steps: | |
# Check-out repository | |
- uses: actions/checkout@v3 | |
# Setup Python | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
- run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry install | |
poetry shell | |
- name: Qt GUI with PySide6 | |
uses: Nuitka/Nuitka-Action@main | |
with: | |
nuitka-version: main | |
script-name: meni/__main__.py | |
standalone: true | |
enable-plugins: pyside6 | |
# Uploads artifact | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: exe | |
path: build/hello_world.exe |