Skip to content

Fixed lexer and autocomplete, calltip issue working with lexers #56

Fixed lexer and autocomplete, calltip issue working with lexers

Fixed lexer and autocomplete, calltip issue working with lexers #56

name: Build and Ship Zenith as Standalone
on:
push:
branches:
- main
jobs:
build-and-zip:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Create and activate virtual environment
run: |
python -m venv .venv
.\.venv\Scripts\activate
- name: Install dependencies
run: |
python -c "import yourmodule" 2>NUL || pip install -r requirements.txt
- name: Run Nuitka build
run: |
echo Yes | python -m nuitka --standalone --include-data-dir=zenith\media=zenith\media --include-data-files=zenith\shortcuts.lua=zenith\shortcuts.lua --include-data-files=zenith\config.lua=zenith\config.lua --include-data-files=zenith\color_schemes.lua=zenith\color_schemes.lua --enable-plugin=pyqt6 --include-module=PyQt6.Qsci --windows-console-mode=disable --windows-icon-from-ico=icon.ico Nyxtext.py
- name: Zip Standalone Version
run: |
Compress-Archive -Path Nyxtext.dist\* -DestinationPath Zenith_Standalone.zip -Force
- name: Upload Standalone ZIP as Artifact
uses: actions/upload-artifact@v4
with:
name: Zenith-Standalone
path: Zenith_Standalone.zip
- name: Upload Full Nyxtext.dist as Artifact
uses: actions/upload-artifact@v4
with:
name: Zenith-Full-Dist
path: Nyxtext.dist