Skip to content
Snippets Groups Projects
Commit 64e2027a authored by MADELA Patrick's avatar MADELA Patrick
Browse files

Fix .gitlab-ci.yml

parent 42706e97
No related branches found
No related tags found
1 merge request!12.38.1
Pipeline #1491 passed
......@@ -18,18 +18,19 @@ workflow:
.build:
stage: build
script:
- curl -L -o python.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/python3/-/jobs/artifacts/${PYTHON_VERSION}/download?job=${PLATFORM}
- unzip python.zip
# Install recent version of python required to build meson that is a requirement for building chain of git
- curl -s -L -o python.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/python3/-/jobs/artifacts/${PYTHON_VERSION}/download?job=${PLATFORM}
- unzip -q python.zip
- rm python.zip
- export PATH=$(readlink -e .)/python-${PYTHON_VERSION}-${PLATFORM}/bin:${PATH}
- echo $PATH
- python --version
- python --version | grep ${PYTHON_VERSION}
- sudo python -m pip install --upgrade pip
- sudo python -m pip install --upgrade conan
# Build git with conan
- conan config init
- conan profile update settings.compiler.libcxx=libstdc++11 default
# - conan create . git/${GIT_VERSION}@soleil/stable --build -c tools.system.package_manager:mode=install -c tools.system.package_manager:tool=yum -c tools.system.package_manager:sudo=True
# - conan install git/${GIT_VERSION}@soleil/stable --install-folder ${CI_PROJECT_DIR}/${NAME}
- conan create . git/${GIT_VERSION}@soleil/stable --build -c tools.system.package_manager:mode=install -c tools.system.package_manager:tool=yum -c tools.system.package_manager:sudo=True
- conan install git/${GIT_VERSION}@soleil/stable --install-folder ${CI_PROJECT_DIR}/${NAME}
artifacts:
name: ${NAME}
paths:
......
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