removed old linux support

pull/666/head
Holger Müller 2023-07-31 13:21:08 +02:00
rodzic b293017d35
commit 800ac41917
2 zmienionych plików z 1 dodań i 41 usunięć

Wyświetl plik

@ -1,39 +0,0 @@
name: Linux Release
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install python
run: |
sudo apt-get update
sudo apt install -y python3.9 python3-pip python3.9-venv \
python3.9-dev
- name: Install dependencies and pyinstall
run: |
python3.9 -m venv build
. build/bin/activate
python -m pip install pip==23.2.1 setuptools==68.0.0
pip install -r requirements.txt
pip install PyInstaller==5.13.0
- 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@v1
with:
name: NanoVNASaver.linux
path: dist/nanovna-saver

Wyświetl plik

@ -11,8 +11,7 @@ modules:
buildsystem: simple
build-commands:
- pip3 install --prefix=/app wheel setuptools setuptools-scm
# - pip3 install --prefix=/app git+https://github.com/NanoVNA-Saver/nanovna-saver.git
- pip3 install --prefix=/app git+https://github.com/zarath/nanovna-saver.git@feature/pip_updates
- pip3 install --prefix=/app git+https://github.com/NanoVNA-Saver/nanovna-saver.git
finish-args:
# X11 + XShm access
- --share=ipc