diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1 b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1 index 256aaf6a22c19aecc26e2be36b3233d7371da6d3..4a956ba185df8002891efabf19117ee6b0509204 100755 --- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1 +++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.ps1 @@ -1,16 +1,17 @@ $ErrorActionPreference = "Stop" -if ($($env:AIDGE_DEPENDENCIES -split " ").Length -eq 0) { +$AIDGE_DEPENDENCIES = Invoke-Expression $env:AIDGE_DEPENDENCIES +Write-Host "Aidge dependencies : $AIDGE_DEPENDENCIES" +if ( $($AIDGE_DEPENDENCIES.Length) -eq 0) { Write-Host "- No dependencies provided for current repsitory" New-Item -ItemType Directory -Force -Path ".\build" | Out-Null Remove-Item -Path ".\build\*" -Recurse -Force } else { - Write-Host "Retrieving given dependencies to build current package : $env:AIDGE_DEPENDENCIES" - foreach ($dep in $($env:AIDGE_DEPENDENCIES -split " ")) { + Write-Host "Retrieving given dependencies to build current package : $AIDGE_DEPENDENCIES" + foreach ($dep in $($AIDGE_DEPENDENCIES -split " ")) { Write-Host "Retrieving : $dep" $curr_loc=$(Get-Location) Set-Location ../$dep - Write-Host "YYEETEEEEEEEEEEEEt" Get-Location Get-ChildItem . New-Item -Path ".\build" -ItemType Directory -Force | Out-Null @@ -18,4 +19,4 @@ if ($($env:AIDGE_DEPENDENCIES -split " ").Length -eq 0) { python -m pip install . -v Set-Location $curr_loc } -} \ No newline at end of file +}