feat(brand): macOS-spec app icon and reproducible build pipeline #435
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libegl1 \ | |
| libxkbcommon-x11-0 \ | |
| libxcb-cursor0 \ | |
| libxcb-icccm4 \ | |
| libxcb-util1 \ | |
| libxcb-image0 \ | |
| libxcb-keysyms1 \ | |
| libxcb-render-util0 \ | |
| libxcb-shape0 \ | |
| libxcb-xkb1 | |
| - name: Install dependencies | |
| run: python -m pip install -r requirements.txt | |
| - name: Compile Python sources | |
| run: python -m py_compile main_qml.py core/*.py ui/*.py | |
| - name: Run config tests | |
| run: python -m unittest discover -s tests -p "test_*.py" | |
| - name: Lint QML | |
| run: | | |
| python - <<'PY' | |
| import subprocess | |
| from pathlib import Path | |
| import PySide6 | |
| qml_files = sorted(str(path) for path in Path("ui/qml").glob("*.qml")) | |
| qmllint = Path(PySide6.__file__).resolve().parent / "qmllint" | |
| subprocess.run([str(qmllint), *qml_files], check=True) | |
| PY |