Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9b601a2e authored by LEGRAND Jonathan's avatar LEGRAND Jonathan
Browse files

Update conda package management in CI pipeline

Ensure removal of incompatible packages and install specific versions of `xz` and `libarchive` to improve compatibility.
parent 9ce9b38c
Branches
No related tags found
No related merge requests found
...@@ -37,8 +37,10 @@ update-linux: ...@@ -37,8 +37,10 @@ update-linux:
GIT_STRATEGY: none # avoid cloning the repository GIT_STRATEGY: none # avoid cloning the repository
script: script:
- conda activate base - conda activate base
- conda list # list conda packages in environment for debugging purposes
- conda update -c default conda - conda update -c default conda
- conda update -c default conda-build - conda update -c default conda-build
- conda list # list conda packages in environment for debugging purposes
rules: rules:
- when: manual - when: manual
allow_failure: true # Avoid blocking the pipeline if not run allow_failure: true # Avoid blocking the pipeline if not run
...@@ -52,10 +54,12 @@ update-osx: ...@@ -52,10 +54,12 @@ update-osx:
script: script:
- source /Users/ci/Miniconda3/etc/profile.d/conda.sh # source conda activation script - source /Users/ci/Miniconda3/etc/profile.d/conda.sh # source conda activation script
- conda activate base - conda activate base
- conda list # list conda packages in environment for debugging purposes
- conda remove --force libarchive xz # Remove existing packages - conda remove --force libarchive xz # Remove existing packages
- conda install -c default xz=5.2.5 libarchive=3.5.2 # Install specific compatible versions - conda install -c default "xz>=5, <6" libarchive # Install specific compatible versions
- conda update -c default conda - conda update -c default conda
- conda update -c default conda-build - conda update -c default conda-build
- conda list # list conda packages in environment for debugging purposes
rules: rules:
- when: manual - when: manual
allow_failure: true # Avoid blocking the pipeline if not run allow_failure: true # Avoid blocking the pipeline if not run
...@@ -68,8 +72,10 @@ update-osx-arm64: ...@@ -68,8 +72,10 @@ update-osx-arm64:
GIT_STRATEGY: none # avoid cloning the repository GIT_STRATEGY: none # avoid cloning the repository
script: script:
- conda activate base - conda activate base
- conda list # list conda packages in environment for debugging purposes
- conda update -c default conda - conda update -c default conda
- conda update -c default conda-build - conda update -c default conda-build
- conda list # list conda packages in environment for debugging purposes
rules: rules:
- when: manual - when: manual
allow_failure: true # Avoid blocking the pipeline if not run allow_failure: true # Avoid blocking the pipeline if not run
...@@ -83,8 +89,10 @@ update-windows: ...@@ -83,8 +89,10 @@ update-windows:
script: script:
- . C:\Users\ci\Miniconda3\shell\condabin\conda-hook.ps1 # source conda activation script - . C:\Users\ci\Miniconda3\shell\condabin\conda-hook.ps1 # source conda activation script
- conda activate base - conda activate base
- conda list # list conda packages in environment for debugging purposes
- conda update -c default conda - conda update -c default conda
- conda update -c default conda-build - conda update -c default conda-build
- conda list # list conda packages in environment for debugging purposes
rules: rules:
- when: manual - when: manual
allow_failure: true # Avoid blocking the pipeline if not run allow_failure: true # Avoid blocking the pipeline if not run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment