diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-07-11 22:34:42 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-08-09 12:32:30 +0200 |
commit | fa084f5ba5dad58a55b5a0a0e9d839c54e9a9238 (patch) | |
tree | dc5f8fc7d1ccf40c22498825c95e549c01a67a98 /ci/test | |
parent | fab27127f4794b57a00328bdf8e779d9db07a2f5 (diff) | |
download | bitcoin-fa084f5ba5dad58a55b5a0a0e9d839c54e9a9238.tar.xz |
ci: Only create folders when needed
Now that container volumes are used, the folders are no longer mounted.
They are only needed when running without a container engine (docker,
podman).
Diffstat (limited to 'ci/test')
-rwxr-xr-x | ci/test/04_install.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index 7ecf00097c..1f1251bef3 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -6,10 +6,6 @@ export LC_ALL=C.UTF-8 -# Create folders that are mounted into the docker -mkdir -p "${CCACHE_DIR}" -mkdir -p "${PREVIOUS_RELEASES_DIR}" - export ASAN_OPTIONS="detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan" export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1:log_path=${BASE_SCRATCH_DIR}/sanitizer-output/tsan" @@ -52,6 +48,9 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then export CI_EXEC_CMD_PREFIX="docker exec ${CI_CONTAINER_ID}" else echo "Running on host system without docker wrapper" + echo "Create missing folders" + mkdir -p "${CCACHE_DIR}" + mkdir -p "${PREVIOUS_RELEASES_DIR}" fi CI_EXEC () { |