@@ -50,21 +50,29 @@ own rustup installation, crate mirrors, etc.
50
50
```
51
51
cd docker && docker build . && cd .. # This takes a while
52
52
cargo run -- prepare-local
53
- cargo run -- define-ex stable beta
53
+ cargo run -- define-ex --crate-select=demo stable beta
54
54
cargo run -- prepare-ex
55
55
cargo run -- run
56
56
cargo run -- gen-report work/ex/default/
57
57
```
58
58
59
59
This will output a report to ` ./work/ex/default/index.html ` .
60
60
61
- Here's what each of these steps does:
61
+ Delete things with
62
+ ```
63
+ cargo run -- delete-all-target-dirs
64
+ cargo run -- delete-all-results
65
+ cargo run -- delete-ex
66
+ ```
67
+ Each command except ` prepare-local ` optionally takes an ` --ex ` argument
68
+ to identify the experiment being referred to. If not supplied, this
69
+ defaults to ` default ` . Here's what each of the steps does:
62
70
63
71
* ` prepare-local ` - sets up the stable toolchain for internal use,
64
72
builds the docker container, builds lists of crates. This needs to
65
73
be rerun periodically, but not between every experiment.
66
74
67
- * ` define-ex ` - defines a new experiment, by default named 'default',
75
+ * ` define-ex ` - defines a new experiment
68
76
performing a build-test experiment on the 'demo' set of crates.
69
77
70
78
* ` prepare-ex ` - fetches repos from github and captures their commit
@@ -77,6 +85,9 @@ Here's what each of these steps does:
77
85
* ` gen-report ` - summarize the experiment results to
78
86
work/ex/default/index.html
79
87
88
+ * ` delete-all-target-dirs ` /` delete-all-results ` /` delete-ex ` - clean up
89
+ everything relating to this experiment
90
+
80
91
### Custom toolchains
81
92
82
93
Toolchains for rust PRs that have been built by by asking bors to try a PR can
@@ -195,7 +206,7 @@ the sheet that does not have a status of 'Complete' or 'Failed'.
195
206
and ` BETA_DATE ` is the date from
196
207
` curl -sSL static.rust-lang.org/dist/channel-rust-beta.toml | grep '^date =' ` (it is * not*
197
208
necessarily the same date as retrieved in the ` BETA_VERSION ` command).
198
- - Run ` cargo run --release -- define-ex --ex EX_NAME EX_START EX_END --crate-select=full ` .
209
+ - Run ` cargo run --release -- define-ex --crate-select=full -- ex EX_NAME EX_START EX_END ` .
199
210
This will complete in a few seconds.
200
211
- Run ` cargo run --release -- prepare-ex --ex EX_NAME ` .
201
212
- Change status to 'Preparing'.
0 commit comments