mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-19 14:01:02 +01:00
A private repo's ubuntu-latest has about 7 GB, and the shared workflows start a 12 GB FreeBSD VM, so QEMU fails at startup. The shared workflows have no runner input, so release.yml turns off their FreeBSD job and runs its own copy on github-ubuntu-16core, then adds the archives and checksums to the draft release. freebsd.yml would fail the same way, so it is manual-only until the repo is public. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.2 KiB
YAML
29 lines
1.2 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
|
|
|
|
# Manual only while this repo is private: the shared workflow's VM needs 12 GB, and a private
|
|
# repo's ubuntu-latest has about 7 GB, so it can't start. release.yml builds FreeBSD on a larger
|
|
# runner. When the repo is public, restore the push to release, the nightly schedule and the
|
|
# pull_request paths that the other apps use.
|
|
on:
|
|
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: 3d9ab3a132ed0eff457e424226a435a901da30d3
|
|
run-package-check: true
|