-
Notifications
You must be signed in to change notification settings - Fork 277
41 lines (38 loc) · 1022 Bytes
/
release_linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Linux Release
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-22.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.13 python3-pip python3.13-venv \
python3.13-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.13 -m venv build
. build/bin/activate
python -m pip install uv
uv sync
- name: Build binary
run: |
. build/bin/activate
uv run task build-pkg-linux
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: NanoVNASaver.linux
path: dist/nanovna-saver