Skip to content
Snippets Groups Projects
Commit 16cd76ac authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[gitlab-ci][single-package] Update template CI instructions to optimise bdt...

[gitlab-ci][single-package] Update template CI instructions to optimise bdt installation and use base environment
parent f055c36e
No related branches found
No related tags found
1 merge request!11Independent builds and python support
Pipeline #26806 canceled
...@@ -20,9 +20,9 @@ stages: ...@@ -20,9 +20,9 @@ stages:
stage: build stage: build
script: script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt - python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh - source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate bdt - conda activate base
- bdt ci build -vv - bdt ci build -vv
- bdt ci clean -vv - bdt ci clean -vv
cache: &build_caches cache: &build_caches
...@@ -66,9 +66,9 @@ build_linux_36: ...@@ -66,9 +66,9 @@ build_linux_36:
BUILD_EGG: "true" BUILD_EGG: "true"
script: script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt - python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh - source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate bdt - conda activate base
- bdt ci build -vv - bdt ci build -vv
- bdt ci readme -vv dist/*.zip - bdt ci readme -vv dist/*.zip
- bdt ci clean -vv - bdt ci clean -vv
...@@ -91,9 +91,9 @@ build_macosx_36: ...@@ -91,9 +91,9 @@ build_macosx_36:
stage: deploy stage: deploy
script: script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py channel bdt - python3 bootstrap.py channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh - source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate bdt - conda activate base
- bdt ci deploy -vv - bdt ci deploy -vv
- bdt ci clean -vv - bdt ci clean -vv
dependencies: dependencies:
...@@ -133,9 +133,9 @@ pypi: ...@@ -133,9 +133,9 @@ pypi:
- branches - branches
script: script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py" - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt - python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh - source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate bdt - conda activate base
- bdt ci pypi -vv dist/*.zip - bdt ci pypi -vv dist/*.zip
- bdt ci clean -vv - bdt ci clean -vv
dependencies: dependencies:
......
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