mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 14:27:35 -06:00
* egui037: name each control for what it sets, and order the eager fonts for the UI CodeRabbit review follow-ups on the migration: the Artboard X/Y fields, the CAF dropdowns, the channel Solidity field, the GPU backend/adapter dropdowns, the corner radius fields and the canvas extension colour all had an accessible name that named another control (or was shared by four). The eager craft-fonts registration now puts the UI Japanese face first, as the lazy loader does, so Japanese UI is not drawn in the manifest's Mincho face and shared Han characters do not take Japanese forms. Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com> * egui037: rustfmt the eager craft-font order --------- Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com> Co-authored-by: Codebuff <noreply@codebuff.com>
41 lines
2.0 KiB
YAML
41 lines
2.0 KiB
YAML
# Builds and tests the workspace on FreeBSD, inside a FreeBSD VM on a Linux runner
|
|
# (GitHub has no FreeBSD runners). GPU tests skip themselves when the VM has no adapter.
|
|
# It then runs packaging/freebsd/package.sh, the script the release job runs, and checks the
|
|
# tarball, so a broken FreeBSD package fails here before it can fail a release. Nothing is
|
|
# uploaded and no secrets are used.
|
|
name: FreeBSD
|
|
|
|
# The VM build takes one to several hours, so it runs nightly on main rather than on every push
|
|
# or dependency change: a drifted dependency still shows up within a day. PRs that change the
|
|
# FreeBSD packaging itself still run it.
|
|
on:
|
|
push:
|
|
branches: [release]
|
|
schedule:
|
|
- cron: "17 2 * * *"
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/freebsd.yml
|
|
- packaging/freebsd/**
|
|
- packaging/env.sh
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: freebsd-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
freebsd:
|
|
# Intentionally tracked at @main (not SHA-pinned) so org-wide CI improvements, security fixes, and build optimizations propagate without PR churn across all craftapp repos.
|
|
uses: storytold/craft-common-actions/.github/workflows/freebsd.yml@main
|
|
with:
|
|
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
|
|
cargo-build-extra-args: "--features heif"
|
|
# The VM's software Vulkan driver crashes (SIGSEGV) when several tests set up a device at
|
|
# once, so photocraft-gpu's tests run one at a time, like ui-egui's integration tests.
|
|
custom-test-command: "CARGO_PROFILE_DEV_DEBUG=0 cargo test --workspace --locked --features heif --exclude photocraft-ui-egui --exclude photocraft-gpu && CARGO_PROFILE_DEV_DEBUG=0 cargo test -p photocraft-gpu --locked -- --test-threads=1 && CARGO_PROFILE_DEV_DEBUG=0 cargo test -p photocraft-ui-egui --locked --lib && CARGO_PROFILE_DEV_DEBUG=0 cargo test -p photocraft-ui-egui --locked --doc && CARGO_PROFILE_DEV_DEBUG=0 cargo test -p photocraft-ui-egui --locked --test '*' -- --test-threads=1"
|
|
run-package-check: true
|