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

chore : added debug prints

parent daf2b21e
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #45148 canceled
......@@ -7,7 +7,9 @@ if ($deps.Length -eq 0) {
New-Item -ItemType Directory -Force -Path ".\build" | Out-Null
Remove-Item -Path ".\build\*" -Recurse -Force
} else {
Write-Host "Retrieving dependencies necessary to build current package"
foreach ($repo in $DEPS) {
Write-Host "Retrieving : $repo"
$repoPath = Get-ChildItem -Path "/host/home/" -Directory -Filter $repo -Recurse |
Where-Object { $_.FullName -notmatch 'install' -and
$_.FullName -notmatch '.git' -and
......@@ -19,10 +21,13 @@ if ($deps.Length -eq 0) {
Select-Object -First 1 -ExpandProperty FullName
if (-not [string]::IsNullOrEmpty($repoPath)) {
Write-Host "Retrieving : $repo"
Set-Location $repoPath
New-Item -Path ".\build" -ItemType Directory -Force | Out-Null
Get-ChildItem -Path ".\build" -File | Remove-Item -Force
pip install . -Verbose
} else {
throw "$repo not found, aborting."
}
}
}
......@@ -23,9 +23,15 @@ build-frontend = "build"
# aidge_core do not rely on any aidge dependency, hence this string is empty
AIDGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n"
[tool.cibuildwheel.linux]
before-build = ["bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"]
before-build = [
'echo "dependencies to retrieve : ${AIDGE_DEPENDENCIES}',
"bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"
]
[tool.cibuildwheel.windows]
before-build = [".\\.gitlab\\ci\\cibuildwheel_build_deps_before_build_wheel.ps1 --deps ${AIDGE_DEPENDENCIES}"]
before-build = [
'Write-Host "dependencies to retrieve : $env:{AIDGE_DEPENDENCIES}',
".\\.gitlab\\ci\\cibuildwheel_build_deps_before_build_wheel.ps1 --deps $env:{AIDGE_DEPENDENCIES}"
]
#####################################################
# SETUPTOOLS
......
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