Add package-first build and distribution workflow

This commit is contained in:
Thales Maciel 2026-02-27 15:06:57 -03:00
parent 4a69c3d333
commit 993f51712b
13 changed files with 462 additions and 52 deletions

View file

@ -17,9 +17,18 @@ jobs:
python -m pip install --upgrade pip
python -m pip install uv build
uv sync --extra x11
- name: Compile
run: python -m py_compile src/*.py tests/*.py
- name: Unit tests
run: python -m unittest discover -s tests -p 'test_*.py'
- name: Build artifacts
run: python -m build
- name: Release quality checks
run: make release-check
- name: Build Debian package
run: make package-deb
- name: Build Arch package inputs
run: make package-arch
- name: Upload packaging artifacts
uses: actions/upload-artifact@v4
with:
name: aman-artifacts
path: |
dist/*.whl
dist/*.tar.gz
dist/*.deb
dist/arch/PKGBUILD