Build cos7 builds on the main job
@@ -37,8 +37,6 @@ jobs:
pool:
vmImage: ubuntu-latest
timeoutInMinutes: 360
- variables:
- NEED_CENTOS7: $[ dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'] ]
steps:
- script: |
# sudo pip install --upgrade pip
@@ -53,12 +51,7 @@ jobs:
export CI=azure
export CONFIG=linux64
- if [[ "$(NEED_CENTOS7)" == "1" ]]; then
export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-cuda:10.2
- export DEFAULT_LINUX_VERSION=cos7
- else
- export IMAGE_NAME=quay.io/condaforge/linux-anvil-cuda:10.2
- fi
export AZURE=True
export CF_CUDA_VERSION="10.2"
.scripts/run_docker_build.sh
@@ -66,32 +59,3 @@ jobs:
displayName: Run docker build for CUDA 10.2
- publish: build_artifacts/linux-64/
artifact: conda_pkgs_linux_64_cuda102
-
-- job: linux_64_centos7
- dependsOn: linux_64
- condition: and(not(eq(variables['Build.SourceBranch'], 'refs/heads/main')), eq(dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'], '1'))
- pool:
- vmImage: ubuntu-latest
- timeoutInMinutes: 360
- steps:
- - script: |
- # sudo pip install --upgrade pip
- sudo pip install setuptools shyaml
- displayName: Install dependencies
-
- - script: |
- set -e
-
- # make sure there is a package directory so that artifact publishing works
- mkdir -p build_artifacts/linux-64/
-
- export CI=azure
- export CONFIG=linux64
- export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-x86_64
- export DEFAULT_LINUX_VERSION=cos7
- export AZURE=True
- .scripts/run_docker_build.sh
-
- displayName: Run docker build for centos 7
- - publish: build_artifacts/linux-64/
- artifact: conda_pkgs_linux_64_centos7
