Commit 85ce33df authored by André Anjos's avatar André Anjos 💬

[ci] Builds all python variants in a single shot

parent a10eebe9
Pipeline #40141 failed with stage
in 1 minute and 51 seconds
......@@ -18,7 +18,7 @@ stages:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- python3 ./bob/devtools/build.py -vv
- python3 ./bob/devtools/build.py -vv --twine-check
artifacts:
expire_in: 1 week
cache:
......@@ -26,8 +26,10 @@ stages:
- miniconda.sh
.build_linux_template:
build_linux:
extends: .build_template
variables:
BUILD_EGG: "true"
tags:
- docker
image: continuumio/conda-concourse-ci
......@@ -36,6 +38,8 @@ stages:
- rm -rf /root/.conda
artifacts:
paths:
- dist/*.zip
- sphinx
- ${CONDA_ROOT}/conda-bld/linux-64/*.conda
- ${CONDA_ROOT}/conda-bld/noarch/*.conda
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
......@@ -44,7 +48,7 @@ stages:
key: "linux-cache"
.build_macosx_template:
build_macosx:
extends: .build_template
tags:
- macosx
......@@ -58,52 +62,6 @@ stages:
key: "macosx-cache"
build_linux_36:
extends: .build_linux_template
variables:
PYTHON_VERSION: "3.6"
build_linux_37:
extends: .build_linux_template
variables:
PYTHON_VERSION: "3.7"
build_linux_38:
extends: .build_linux_template
variables:
PYTHON_VERSION: "3.8"
BUILD_EGG: "true"
script:
- python3 ./bob/devtools/bootstrap.py -vv build
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- python3 ./bob/devtools/build.py -vv --twine-check
artifacts:
paths:
- dist/*.zip
- sphinx
- ${CONDA_ROOT}/conda-bld/linux-64/*.conda
- ${CONDA_ROOT}/conda-bld/noarch/*.conda
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
- ${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
build_macosx_36:
extends: .build_macosx_template
variables:
PYTHON_VERSION: "3.6"
build_macosx_37:
extends: .build_macosx_template
variables:
PYTHON_VERSION: "3.7"
build_macosx_38:
extends: .build_macosx_template
variables:
PYTHON_VERSION: "3.8"
# Deploy targets
.deploy_template:
stage: deploy
......@@ -118,12 +76,8 @@ build_macosx_38:
- bdt ci deploy -vv
- bdt ci clean -vv
dependencies:
- build_linux_36
- build_linux_37
- build_linux_38
- build_macosx_36
- build_macosx_37
- build_macosx_38
- build_linux
- build_macosx
tags:
- docker
cache:
......@@ -164,12 +118,8 @@ pypi:
- bdt ci pypi -vv dist/*.zip
- bdt ci clean -vv
dependencies:
- build_linux_36
- build_linux_37
- build_linux_38
- build_macosx_36
- build_macosx_37
- build_macosx_38
- build_linux
- build_macosx
tags:
- docker
cache:
......
macos_min_version:
- 10.9
macos_machine:
- x86_64-apple-darwin13.4.0
MACOSX_DEPLOYMENT_TARGET:
- 10.9
CONDA_BUILD_SYSROOT: # [osx]
- /opt/MacOSX10.9.sdk # [osx]
# This helps CMAKE find the sysroot. See
# https://cmake.org/cmake/help/v3.11/variable/CMAKE_OSX_SYSROOT.html
SDKROOT: # [osx]
- /opt/MacOSX10.9.sdk # [osx]
# makes autotools verbose
VERBOSE_AT:
- V=1
# makes cmake verbose
VERBOSE_CM:
- VERBOSE=1
## the dependencies that we build against multiple versions
python:
- 3.6
- 3.7
- 3.8
build:
script_env:
- DOCSERVER
- NOSE_EVAL_ATTR
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment