File tree 1 file changed +6
-15
lines changed
1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 1
1
# Docker images for CI
2
2
3
3
This folder contains a bunch of docker images used by the continuous integration
4
- (CI) of Rust. An script is accompanied (` run.sh ` ) with these images to actually
5
- execute them. To test out an image execute:
4
+ (CI) of Rust. A script is accompanied (` run.sh ` ) with these images to actually
5
+ execute them.
6
6
7
- ```
8
- ./src/ci/docker/run.sh $image_name
9
- ```
10
-
11
- for example:
7
+ To run a specific CI job locally, you can use the following script:
12
8
13
9
```
14
- ./src/ci/docker/run.sh x86_64-gnu
10
+ python3 ./src/ci/github-actions/ci.py run-local <job-name>
15
11
```
16
12
17
- Images will output artifacts in an ` obj/$image_name ` dir at the root of a repository. Note
13
+ Images will output artifacts in an ` obj/<image-name> ` dir at the root of a repository. Note
18
14
that the script will overwrite the contents of this directory.
19
15
20
- To match conditions in rusts CI, also set the environment variable ` DEPLOY=1 ` , e.g.:
21
- ```
22
- DEPLOY=1 ./src/ci/docker/run.sh x86_64-gnu
23
- ```
24
-
25
16
** NOTE** : In CI, the script outputs the artifacts to the ` obj ` directory,
26
- while locally, to the ` obj/$image_name ` directory. This is primarily to prevent
17
+ while locally, to the ` obj/<image-name> ` directory. This is primarily to prevent
27
18
strange linker errors when using multiple Docker images.
28
19
29
20
## Local Development
You can’t perform that action at this time.
0 commit comments