Files
Arekejoker eca9d7fbf8 docs+ci: add macOS (Apple Silicon) guidance; validate on macOS runner
README gets a dedicated macOS section (memory-based model choice,
community-reported speed numbers, MPS VAE workaround, route support),
explicitly labelled as community data since maintainers have no Mac
hardware. CI now also runs the offline package validation on
macos-latest to prove script-level compatibility.
2026-10-17 12:54:50 +08:00

40 lines
1020 B
YAML

name: Validate package
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
static-checks:
runs-on: ubuntu-24.04
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Validate package files
run: python scripts/validate_package.py
static-checks-macos:
# Scripts are POSIX-only (fcntl) and documented for macOS; verify the
# offline package checks pass on Apple's runner too. GPU/ComfyUI parts
# still require real hardware — see the README macOS section.
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Validate package files
run: python3 scripts/validate_package.py