mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-05 19:51:38 -05:00
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
name: CI
|
|
|
|
# Quality gates (`cargo xtask ci`), through the suite's shared gate workflow in
|
|
# craft-common-actions. Runs only when started (`gh workflow run ci.yml --ref <branch>`): pushes and
|
|
# pull requests no longer queue runs on their own, so the shared runners are not swamped.
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
# A newer run on a branch cancels its older one; every run on main runs to the end.
|
|
concurrency:
|
|
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
|
|
|
jobs:
|
|
gate:
|
|
# Tracks @main so suite-wide CI fixes reach every app without a PR in each repository.
|
|
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
|
|
with:
|
|
os: ${{ github.ref == 'refs/heads/main' && '["artcraft-k8s-main"]' || '["ubuntu-24.04"]' }}
|
|
# Combined Latin presentation and core UI catalog. Required web builds enforce
|
|
# Inter Regular/SemiBold and Noto Sans Georgian Regular after asset-policy filtering.
|
|
craft-fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69
|
|
require-craft-fonts: true
|
|
packages: >-
|
|
libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev
|
|
libgtk-3-dev
|