Skip to content

Make the set of weekly runs configurable from bench_runner.toml #397

Closed
@mdboom

Description

@mdboom

Currently, the set of weekly runs is defined in _weekly.src.yml using GitHub actions. It currently does:

  • default builds (all machines)
  • jit builds (all machines)
  • nogil builds (all machines)
  • tailcall builds (all machines)
  • pystats builds (linux "cloud" machine)

With #396, (and probably other things), there may be certain combinations of flags and runners that don't work, or just cases where the matrix is so large we don't want to run all of it.

I would propose moving the configuration of the weekly runs to bench_runner.toml where the weekly runs are defined as multiple products of flags and runners. For example:

[weekly]
default = {
    flags: []
    runners: [linux, darwin, windows]  # runner nicknames
}
nogil = {
    flags: [NOGIL],
    runners: [linux, darwin, windows]
}
tailcall = {
    flags: [TAILCALL],
    runners: [linux-clang19, darwin, windows-clangcl]
}

This information would be used by the install.py script to produce a weekly.yml for GitHub Actions to run.

@Yhg1s, @Fidget-Spinner: Your thoughts?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions