Versions in this module Expand all Collapse all v1 v1.0.2 Oct 9, 2026 v1.0.1 Oct 9, 2026 v1.0.0 Oct 9, 2026 Changes in this version + const StageBuild + const StageGenerate + const StageTest + var ErrCache = errors.New("read cache") + var ErrCommand = errors.New("command failed") + var ErrSpecNotFound = errors.New("spec not found") + var ErrTimeout = errors.New("timed out") + func Exec(ctx context.Context, dir, name string, args ...string) ([]byte, error) + func HashFiles(paths ...string) (string, error) + func Key(job Job) (string, error) + func Report(results []Result) string + func SafeNames(names []string) []string + type Cache struct + Passed map[string]bool + Tool string + func LoadCache(path, tool string) (*Cache, error) + func (c *Cache) Save(path string) error + type Command func(ctx context.Context, dir, name string, args ...string) ([]byte, error) + type Job struct + Package string + Spec Spec + Variant Variant + func Jobs(specs []Spec, variants []Variant) []Job + type Result struct + Elapsed time.Duration + IsCached bool + Job Job + Lines int + Output string + Stage string + type Runner struct + BatchSize int + Concurrency int + Exec Command + Sandbox Sandbox + Timeout time.Duration + Tool string + func (r *Runner) Progress() string + func (r *Runner) Run(ctx context.Context, jobs []Job) []Result + type Sandbox struct + Dir string + Repo string + func (s Sandbox) BuildTool(ctx context.Context, run Command) (string, error) + func (s Sandbox) Setup(ctx context.Context, run Command, deps []string) error + type Spec struct + Name string + Path string + Size int64 + func Collect(repo, dir string, named []string) ([]Spec, error) + type Variant struct + Config string + Files map[string][]string + Imports []string + Init string + Name string