def METHOD_NAME(project):
    path = project.parent
    project_cfg = project.read_text()
    commands = []
    if ":build:scons" in project_cfg:
        commands.append( ("scons run", "SCons") )
    if ":build:make" in project_cfg and not is_running_on_windows:
        commands.append( ("make run", "Make") )
    rcs = 0
    for command, build_system in commands:
        output = ["=" * 90, "Running: {} with {}".format(path / "main.cpp", build_system)]
        rc, ro = run_command(path, command, all_output=True)
        print("\n".join(output + [ro]))
        if "CI: run fail" in project_cfg:
            rcs += 0 if rc else 1
        else:
            rcs += rc
    return None if rcs else project