mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 20:18:38 -05:00
29 lines
973 B
YAML
29 lines
973 B
YAML
name: VectorCraft Divide command and catalog check
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
gate:
|
|
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
|
|
with:
|
|
os: '["ubuntu-24.04"]'
|
|
timeout-minutes: 90
|
|
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
|
|
dev-strip: true
|
|
dev-debug: "0"
|
|
packages: >-
|
|
pkg-config libxkbcommon-dev libwayland-dev libx11-dev libxcb1-dev libxcursor-dev
|
|
libxrandr-dev libxi-dev libfontconfig1-dev libfreetype-dev mesa-vulkan-drivers
|
|
libgl1-mesa-dev
|
|
command: |
|
|
set -euo pipefail
|
|
cargo xtask ui-commands --check
|
|
test=tests::pathops::divide_over_work_budget_preserves_art_and_selection
|
|
log="$RUNNER_TEMP/vectorcraft-divide-command.txt"
|
|
cargo test --locked -p vectorcraft-engine --lib -- --exact --test-threads=1 --color never "$test" | tee "$log"
|
|
grep -Fqx "test $test ... ok" "$log"
|