You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bitcoin/ci
MarcoFalke def69e5a86
Merge #17233: travis: Run unit and functional tests on native arm
5 years ago
..
extended_lint ci: Rename .travis/ to ./ci/ 5 years ago
lint ci: Cleanup macOS runs 5 years ago
retry build: update retry to current version 5 years ago
test Merge #17233: travis: Run unit and functional tests on native arm 5 years ago
README.md ci: Remove ccache requirement on the host 5 years ago
test_run_all.sh ci: Add environment files for all settings 5 years ago

README.md

ci scripts

This directory contains scripts for each build step in each build stage.

Currently three stages lint, extended_lint and test are defined. Each stage has its own lifecycle, similar to the Travis CI lifecycle. Every script in here is named and numbered according to which stage and lifecycle step it belongs to.

Running a stage locally

To allow for a wide range of tested environments, but also ensure reproducibility to some extent, the test stage requires docker to be installed. To install all requirements on Ubuntu, run

sudo apt install docker.io bash git

To run the default test stage,

./ci/test_run_all.sh

To run the test stage with a specific configuration,

FILE_ENV="./ci/test/00_setup_env_arm.sh" ./ci/test_run_all.sh

Be aware that the tests will be build and run in-place, so please run at your own risk. If the repository is not a fresh git clone, you might have to clean files from previous builds or test runs first.