spec: add runcpu action

This commit is contained in:
2024-06-25 18:40:36 +08:00
parent bfc8293304
commit 264eb92d23

View File

@@ -1,6 +1,17 @@
import { optFlag, optSwitch, undefList } from "./common"; import { optFlag, optSwitch, undefList } from "./common";
export interface RunCPUOptions { export interface RunCPUOptions {
/**
* Most runcpu commands perform an action on a set of benchmarks.
*
* The default action is validate.
*
* 'build'
*/
action?: 'build'
| 'buildstep'
| 'validate'
| 'runsetup';
/** /**
* Config file, used for compiling flags, compiler versions, etc. * Config file, used for compiling flags, compiler versions, etc.
*/ */