Commit 30952a51 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Build/deploy rules for new CUDA versions. FSLCONDA_SKIP_PLATFORM can be

set to "linux-64-cuda" to skip all CUDA jobs
parent 2c0a6f1d
......@@ -182,12 +182,18 @@ update-conda-recipe:
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64($| )/) ||
($CI_JOB_NAME == "build-macos-64-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )macos-64($| )/) ||
($CI_JOB_NAME =~ /^build-linux-64-cuda-.*-conda-package$/ &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda($| )/) ||
($CI_JOB_NAME == "build-linux-64-cuda-9.2-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-9.2($| )/) ||
($CI_JOB_NAME == "build-linux-64-cuda-10.2-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-10.2($| )/) ||
($CI_JOB_NAME == "build-linux-64-cuda-11.0-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.0($| )/)'
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.0($| )/) ||
($CI_JOB_NAME == "build-linux-64-cuda-11.1-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.1($| )/) ||
($CI_JOB_NAME == "build-linux-64-cuda-11.3-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.3($| )/)'
when: never
# This job is only run on branches
......@@ -278,3 +284,19 @@ build-linux-64-cuda-11.0-conda-package:
tags:
- fsl-ci
- docker
build-linux-64-cuda-11.1-conda-package:
image: $FSL_CI_IMAGE_LINUX_64_CUDA_11_1
extends: .fsl-ci-conda-build-job
tags:
- fsl-ci
- docker
build-linux-64-cuda-11.3-conda-package:
image: $FSL_CI_IMAGE_LINUX_64_CUDA_11_3
extends: .fsl-ci-conda-build-job
tags:
- fsl-ci
- docker
......@@ -37,12 +37,18 @@
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64($| )/) ||
($CI_JOB_NAME == "deploy-macos-64-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )macos-64($| )/) ||
($CI_JOB_NAME =~ /^deploy-linux-64-cuda-.*-conda-package$/ &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda($| )/) ||
($CI_JOB_NAME == "deploy-linux-64-cuda-9.2-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-9.2($| )/) ||
($CI_JOB_NAME == "deploy-linux-64-cuda-10.2-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-10.2($| )/) ||
($CI_JOB_NAME == "deploy-linux-64-cuda-11.0-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.0($| )/)'
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.0($| )/) ||
($CI_JOB_NAME == "deploy-linux-64-cuda-11.1-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.1($| )/) ||
($CI_JOB_NAME == "deploy-linux-64-cuda-11.3-conda-package" &&
$FSLCONDA_SKIP_PLATFORM =~ /(^| )linux-64-cuda-11.3($| )/)'
when: never
# This job is only run on master branch of recipe
......@@ -94,6 +100,17 @@ deploy-linux-64-cuda-11.0-conda-package:
- build-linux-64-cuda-11.0-conda-package
deploy-linux-64-cuda-11.1-conda-package:
extends: .deploy-conda-package
dependencies:
- build-linux-64-cuda-11.1-conda-package
deploy-linux-64-cuda-11.3-conda-package:
extends: .deploy-conda-package
dependencies:
- build-linux-64-cuda-11.3-conda-package
# Open a MR on the fsl/conda/manifest repository
# to update the project version number in the FSL
......
......@@ -119,6 +119,11 @@ build-docker-image-linux-64-cuda-11.1:
variables:
BUILDDIR: docker/linux-64-cuda-11.1
build-docker-image-linux-64-cuda-11.3:
extends: .build-docker-image
variables:
BUILDDIR: docker/linux-64-cuda-11.3
# This job can be manually invoked to purge
# and re-generate the conda channel indexes,
......
Supports Markdown
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