Expand description
Toolstate checks to keep tools building
Reachable via ./x.py test
but mostly relevant for CI, since it isnβt run locally by default.
StructsΒ§
- Repo
State π - Tool
State Check
EnumsΒ§
- Tool
State - Whether a tool can be compiled, tested or neither
ConstantsΒ§
- BETA_
WEEK_ πSTART - OS π
- TOOLSTATE_
DIR π - Directory where the toolstate repo is checked out.
StaticsΒ§
- NIGHTLY_
TOOLS π - STABLE_
TOOLS π
FunctionsΒ§
- check_
changed_ πfiles - checkout_
toolstate_ πrepo - Checks out the toolstate repo into
TOOLSTATE_DIR
. - commit_
toolstate_ πchange - This function
commit_toolstate_change
provides functionality for pushing a change to therust-toolstate
repository. - days_
since_ πbeta_ promotion - Number of days after the last promotion of beta. Its value is 41 on the Tuesday where βPromote master to beta (T-2)β happens. The Wednesday after this has value 0. We track this value to prevent regressing tools in the last week of the 6-week cycle.
- prepare_
toolstate_ πconfig - Sets up config and authentication for modifying the toolstate repo.
- print_
error π - publish_
test_ πresults - Updates the βhistoryβ files with the latest results.
- read_
old_ πtoolstate - Reads the latest toolstate from the toolstate repo.
- toolstate_
repo π
Type AliasesΒ§
- Toolstate
Data π