Files
bherbruck e11055b6e3 CI and release: every Linux and Windows job runs on Blacksmith (#16323)
* CI and release: every Linux and Windows job runs on Blacksmith

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Release: macOS builds on Blacksmith's macOS 15 runners too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Release on Blacksmith: fix the FreeBSD, Flatpak and Snap jobs, drop the icons job

- FreeBSD: the VM action syncs $HOME/work and cds into $GITHUB_WORKSPACE,
  which only works where the checkout lives under $HOME/work (GitHub's
  runners; Blacksmith's is under $HOME/_work). The action now only starts
  the VM (sync: no); rsync copies the source in and dist/release out. The
  VM is sized from the runner, on a 16 vCPU runner.
- Flatpak: the AppArmor user-namespace sysctl is only set where it exists.
- Snap: installing snapcraft retries Snap Store timeouts (HTTP 408).
- The icons job goes: make_icons only copies the committed icon files and
  package.ps1 falls back to the same committed solidcraft.ico, so Windows
  no longer waits for it.
- actionlint knows the new runner labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 21:22:37 +00:00

43 lines
1.5 KiB
YAML

# Nightly import checks on real-world STEP files (#1397): the external corpus in
# tests/external-corpus.toml is downloaded (hash-verified), imported headless, and checked
# against tolerance-based expectations — body counts, total volume and area, time and memory
# budgets. It is not part of `cargo xtask ci`: it downloads from the internet.
#
# Import results should improve over time (healing, edge merging, meshing). When a check fails
# because the numbers moved for the better (or the source changed upstream), re-record with
# `cargo xtask external-corpus --bless "why"` in a pull request, never by editing numbers.
name: External corpus
on:
schedule:
- cron: '40 3 * * *'
workflow_dispatch:
inputs:
only:
description: "Run only this corpus entry name (empty = every entry)"
type: string
default: ""
permissions:
contents: read
jobs:
corpus:
name: Import the external STEP corpus
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dtolnay/rust-toolchain@1.99.1
- name: Build the CLI
run: cargo build --profile ci -p solidcraft-cli
- name: Import and check every entry
env:
ONLY: ${{ inputs.only }}
run: |
if [ -z "$ONLY" ]; then
cargo run -q -p xtask -- external-corpus --cli target/ci/solidcraft-cli
else
cargo run -q -p xtask -- external-corpus --cli target/ci/solidcraft-cli --only "$ONLY"
fi