Skip to content

Commit

Permalink
github workflow uv updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zarath committed Jan 14, 2025
1 parent 588c854 commit 81caf7e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 30 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
Expand All @@ -19,28 +19,21 @@ jobs:
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt install -y python3.11 python3-pip python3.11-venv \
python3.11-dev \
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.11 -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
python -m pip install uv
uv sync
- name: Build binary
run: |
. build/bin/activate
python setup.py -V
pyinstaller --onefile \
-p src \
-n nanovna-saver \
nanovna-saver.py
uv run task build-pkg-linux
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dynamic=['version']

dependencies=[
'pyserial~=3.5',
'PyQt6~=6.7',
'PyQt6~=6.8',
'PyQt6-sip~=13.8',
'numpy~=2.1',
'scipy~=1.14',
Expand Down
34 changes: 18 additions & 16 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81caf7e

Please sign in to comment.