Skip to content
Snippets Groups Projects
Commit 015159f9 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : removed aidge_onnx from the dependencies of aidge quantization

parent 65007893
No related branches found
No related tags found
1 merge request!8multiple fixes
......@@ -129,15 +129,20 @@ include:
###################################################################################################
# WINDOWS
###################################################################################################
.windows:download:artifacts:
.windows:download:setup:
script:
- $ErrorActionPreference = "Stop"
- choco install jq -Y
- $GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
- $API_URL="$GITLAB_ECLIPSE_URL/api/v4"
- Write-Host "CI project namespace $CI_PROJECT_NAMESPACE"
.windows:download:artifacts:
before_script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:list_dependencies, script]
- !reference [.windows:download:select_jobs, script]
- !reference [.windows:download:select_jobs, script]
- !reference [.windows:download:artifacts, script]
script:
- >
for($i = 0; $i -lt $DEPS_SELECTED_JOBS.Count ; $i++) {
$DEP_ID=$DEPS_SELECTED_JOBS[$i].pipeline.project_id
......@@ -149,15 +154,13 @@ include:
}
- !reference [ .windows:download:print_warning , script ]
.windows:download:dependencies:
script:
- $ErrorActionPreference = "Stop"
- choco install jq -Y
- $GITLAB_ECLIPSE_URL="https://gitlab.eclipse.org"
- $API_URL="$GITLAB_ECLIPSE_URL/api/v4"
- Write-Host "CI project namespace $CI_PROJECT_NAMESPACE"
.windows:download:repositories:
before_script:
- !reference [.windows:download:setup, script]
- !reference [.windows:download:list_dependencies, script]
- !reference [.windows:download:select_jobs, script]
- !reference [.windows:download:repositories, script]
script:
- >
for($i = 0; $i -lt $DEPS_SELECTED_JOBS.Count ; $i++) {
# clone repo
......
......@@ -16,14 +16,10 @@
DEPS_NAMES=("aidge_core")
;;
# aidge_onnx needs backend_cpu for testing
"aidge_export_cpp" | "aidge_learning" |"aidge_onnx" )
"aidge_onnx" | "aidge_backend_cuda" | "aidge_learning" | "aidge_quantization" | "aidge_export_cpp" )
DEPS_NAMES=("aidge_core" "aidge_backend_cpu")
;;
"aidge_backend_cuda" )
DEPS_NAMES=("aidge_core" "aidge_backend_cpu")
;;
# aidge_quantization needs onnx for testing
"aidge_quantization" | "aidge_interop_torch" )
"aidge_interop_torch" )
DEPS_NAMES=("aidge_core" "aidge_backend_cpu" "aidge_onnx")
;;
* )
......@@ -62,11 +58,12 @@
}
elseif( $CI_PROJECT_NAME -eq "aidge_backend_cuda" -or
$CI_PROJECT_NAME -eq "aidge_learning" -or
$CI_PROJECT_NAME -eq "aidge_export_cpp"
$CI_PROJECT_NAME -eq "aidge_export_cpp" -or
$CI_PROJECT_NAME -eq "aidge_quantization"
){
$DEPS_NAMES="aidge_core","aidge_backend_cpu"
}
elseif( $CI_PROJECT_NAME -eq "aidge_quantization" ){
elseif( $CI_PROJECT_NAME -eq "aidge_interop_torch" ){
$DEPS_NAMES="aidge_core","aidge_backend_cpu","aidge_onnx"
} else {
echo "****************************************************************************************************************************"
......
......@@ -35,7 +35,7 @@ release:pip:windows:
- python -m pip install cibuildwheel==2.17.0
# Download repositories
- $DEPENDENCY_JOB="build:windows_python"
- !reference [.windows:download:dependencies, script] # located in common.gitlab-ci.yml
- !reference [.windows:download:repositories, before_script]
script:
- python -m cibuildwheel --output-dir wheelhouse --platform windows
......
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