34 lines
840 B
YAML
34 lines
840 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test-and-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install uv build
|
|
uv sync --extra x11
|
|
- 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
|