Toolchain

.github/workflows/toolchain.yml

Source: .github/workflows/toolchain.yml · repository automation

Permissions#

Top-level: {"contents":"read"}. Undeclared means inherited from the caller, not "none needed".

Job dependency graph#

Edges are YAML needs; conditional jobs may not run. Conditions are listed below.

workflow-toolchain relationship diagram. Its textual ledger or workflow contract is on this page or linked below.
workflow toolchain · Mermaid source · Full-size SVG
Read diagram source
flowchart TD
  n_link["link"]

Jobs#

JobNeedsRunner / delegateContainer / strategyCondition
link${{ matrix.os }} / —${{ matrix.container }} / {"fail-fast":false,"matrix":{"include":[{"name":"macOS ARM64","os":"macos-latest","platform_os":"macOS","container":""},{"name":"macOS X64","os":"macos-26-intel","platform_os":"macOS","container":""},{"name":"the EL9 builder","os":"ubuntu-latest","platform_os":"Linux","container":"ghcr.io/dreamweave-mp/stroggforge-linux-x86_64-el9-builder:v72"}]}}${{ !startsWith(github.event.head_commit.message, 'RELEASE:') }}

Steps#

StepAction / commandCondition
—actions/checkout@v6—
—dtolnay/rust-toolchain@stable—
Install LLVMbash scripts/shared/setup-llvm.sh "" ""—
Link a C++ programcat > "$RUNNER_TEMP/linked.cpp" <<'CPP' #include <iostream> #include <stdexcept> #include <string> int main() { try { throw std::runtime_error("linked"); } catch (const std::exception &error) { std::cout << std::string(error.what()) << '\n'; } } CPP clang++ -O2 -std=c++17 -c "$RUNNER_TEMP/linked.cpp" -o "$RUNNER_TEMP/linked.o" if [ "$PLATFORM_OS" = macOS ]; then clang "$RUNNER_TEMP/linked.o" -o "$RUNNER_TEMP/linked" -fuse-ld=lld -lc++ -liconv else clang "$RUNNER_TEMP/linked.o" -o "$RUNNER_TEMP/linked" -fuse-ld=lld -lstdc++ fi—
Check itbash scripts/corprus-crucible/check-release-binary.sh "$RUNNER_TEMP/linked" "$PLATFORM_OS"—
Run it without the LLVM that built itfor installed in "$RUNNER_TEMP"/llvm-* "$RUNNER_TEMP"/micromamba; do if [ -e "$installed" ]; then mv "$installed" "$installed.moved" fi done test "$("$RUNNER_TEMP/linked")" = linked—