Skip to content

Linux Release

Linux Release #35

Workflow file for this run

name: Linux Release
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install python
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt install -y python3.12 python3-pip python3.12-venv \
python3.12-dev \
'^libxcb.*-dev' libx11-xcb-dev \
libglu1-mesa-dev libxrender-dev libxi-dev \
libxkbcommon-dev libxkbcommon-x11-dev
- name: Install dependencies and pyinstall
run: |
python3.12 -m venv build
. build/bin/activate
python -m pip install pip==24.3.1 setuptools==75.6.0
pip install -r requirements.txt
pip install PyInstaller==6.11.1
python3 -m pip install -U PyQt6-sip
python3 -m pip install -U PyQt6
- name: Build binary
run: |
. build/bin/activate
python setup.py -V
pyinstaller --onefile \
-p src \
-n nanovna-saver \
nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: NanoVNASaver.linux
path: dist/nanovna-saver