Skip to content

Commit

Permalink
Add Linux CUDA builds
Browse files Browse the repository at this point in the history
[skip lint]
  • Loading branch information
jakirkham committed Oct 12, 2019
1 parent 40f3883 commit cf523ea
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .azure-pipelines/azure-pipelines-linux-cuda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
jobs:
- job: linux_64_cuda
pool:
vmImage: ubuntu-16.04
strategy:
maxParallel: 1
matrix:
linux_cuda-9_2:
CONFIG: azure-linux-64-cuda-9_2
IMAGE_NAME: condaforge/linux-anvil-cuda:9.2
CF_MAX_PY_VER: 37
AZURE: True
linux_cuda-10_0:
CONFIG: azure-linux-64-cuda-10_0
IMAGE_NAME: condaforge/linux-anvil-cuda:10.0
CF_MAX_PY_VER: 37
AZURE: True
linux_cuda-10_1:
CONFIG: azure-linux-64-cuda-10_1
IMAGE_NAME: condaforge/linux-anvil-cuda:10.1
CF_MAX_PY_VER: 37
AZURE: True
timeoutInMinutes: 360
steps:
- script: |
sudo pip install --upgrade pip
sudo pip install setuptools shyaml
displayName: Install dependencies
- script: |
export CI=azure
.circleci/run_docker_build.sh
displayName: Run docker build
14 changes: 14 additions & 0 deletions .ci_support/azure-linux-64-cuda-10_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- gcc
cxx_compiler:
- gxx
fortran_compiler:
- gfortran
cuda_compiler:
- nvcc
cuda_compiler_version:
- 10.0
channel_sources:
- conda-forge,defaults
docker_image:
- condaforge/linux-anvil-cuda:10.0
14 changes: 14 additions & 0 deletions .ci_support/azure-linux-64-cuda-10_1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- gcc
cxx_compiler:
- gxx
fortran_compiler:
- gfortran
cuda_compiler:
- nvcc
cuda_compiler_version:
- 10.1
channel_sources:
- conda-forge,defaults
docker_image:
- condaforge/linux-anvil-cuda:10.1
14 changes: 14 additions & 0 deletions .ci_support/azure-linux-64-cuda-9_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- gcc
cxx_compiler:
- gxx
fortran_compiler:
- gfortran
cuda_compiler:
- nvcc
cuda_compiler_version:
- 9.2
channel_sources:
- conda-forge,defaults
docker_image:
- condaforge/linux-anvil-cuda:9.2
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ jobs:
- template: ./.azure-pipelines/azure-pipelines-linux.yml


- template: ./.azure-pipelines/azure-pipelines-linux-cuda.yml


- template: ./.azure-pipelines/azure-pipelines-osx.yml


Expand Down

0 comments on commit cf523ea

Please sign in to comment.