mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
ci: Start with clean env
This should help to avoid non-determinism.
This commit is contained in:
parent
fa8c250c2f
commit
fa378bed56
@ -20,10 +20,11 @@ requires `bash`, `docker`, and `python3` to be installed. To install all require
|
|||||||
sudo apt install bash docker.io python3
|
sudo apt install bash docker.io python3
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the test stage with a specific configuration,
|
It is recommended to run the ci system in a clean env. To run the test stage
|
||||||
|
with a specific configuration,
|
||||||
|
|
||||||
```
|
```
|
||||||
FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh
|
env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configurations
|
### Configurations
|
||||||
@ -45,7 +46,7 @@ It is also possible to force a specific configuration without modifying the
|
|||||||
file. For example,
|
file. For example,
|
||||||
|
|
||||||
```
|
```
|
||||||
MAKEJOBS="-j1" FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh
|
env -i HOME="$HOME" PATH="$PATH" USER="$USER" bash -c 'MAKEJOBS="-j1" FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh'
|
||||||
```
|
```
|
||||||
|
|
||||||
The files starting with `0n` (`n` greater than 0) are the scripts that are run
|
The files starting with `0n` (`n` greater than 0) are the scripts that are run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user