Skip to content
Snippets Groups Projects
Commit 1fbc04e5 authored by Thibault Allenet's avatar Thibault Allenet
Browse files

fix the dependencies

parent 1d7194db
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,28 @@ release:pip:ubuntu:
- python --version
- python -m pip wheel -w wheelhouse .
- echo "Tests"
- echo $DEPS_NAMES
- >
for DEP_NAME in $DEPS_NAMES; do
if [[ "$CI_PROJECT_NAME" == "aidge_backend_cpu" ]]; then
export DEPS_NAMES_2=("aidge_core")
elif [[ "$CI_PROJECT_NAME" == "aidge_backend_opencv" ]]; then
export DEPS_NAMES_2=("aidge_core")
elif [[ "$CI_PROJECT_NAME" == "aidge_backend_cuda" ]]; then
export DEPS_NAMES_2=("aidge_core" "aidge_backend_cpu")
elif [[ "$CI_PROJECT_NAME" == "aidge_learning" ]]; then
export DEPS_NAMES_2=("aidge_core" "aidge_backend_cpu")
elif [[ "$CI_PROJECT_NAME" == "aidge_export_cpp" ]]; then
export DEPS_NAMES_2=("aidge_core" "aidge_backend_cpu")
elif [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then
export DEPS_NAMES_2=("aidge_core" "aidge_backend_cpu")
elif [[ "$CI_PROJECT_NAME" == "aidge_quantization" ]]; then
export DEPS_NAMES_2=("aidge_core" "aidge_backend_cpu")
else
echo "Warning: The project $CI_PROJECT_NAME has no dependency."
export DEPS_NAMES_2=()
fi
- echo "export DEPS_NAMES_2 = ${DEPS_NAMES[@]}"
- >
for DEP_NAME in $DEPS_NAMES_2; do
echo "current dep $DEP_NAME"
cd $DEP_NAME
pip install . -v
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment