Commit e03d5b25 authored by Samuel GAIST's avatar Samuel GAIST Committed by André Anjos
Browse files

[scripts][before_test] Refactored docker command

parent d93e0951
......@@ -68,7 +68,7 @@ check_env BEAT_CORE_TEST_DIR
if [ "$1" == "build" ]; then
for k in "${ALGORITHMS[@]}"; do
algodir=$(dirname "${k}")
run_cmd docker run --volume "${BEAT_CORE_TEST_DIR}/${algodir}:/sources" --entrypoint "bash" "${BEAT_CXX_DEV_ENVIRONMENT}" "-c 'cd /sources; mkdir build; cd build; cmake .. ; make'"
run_cmd docker run --rm --volume="${BEAT_CORE_TEST_DIR}/${algodir}:/sources" --workdir="/sources" --entrypoint="bash" "${BEAT_CXX_DEV_ENVIRONMENT}" -c 'mkdir -p build; cd build; cmake .. ; make'
run_cmd ln -sf "${BEAT_CORE_TEST_DIR}/${algodir}/build/*.so" "${BEAT_CORE_TEST_DIR}/${algodir}";
done
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment