Skip to content

Commit

Permalink
concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Jan 23, 2023
1 parent 6cd3a95 commit 0d99872
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ channel_targets:
cuda_compiler:
- nvcc
cuda_compiler_version:
- '11.2'
- '11.1'
cudnn:
- '8'
cutensor:
Expand All @@ -21,7 +21,7 @@ cxx_compiler:
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cuda:11.2
- quay.io/condaforge/linux-anvil-cuda:11.1
nccl:
- '2'
pin_run_as_build:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

name: Build conda package
on: ['pull_request']
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
build:
Expand All @@ -13,15 +16,15 @@ jobs:
fail-fast: false
matrix:
include:
- CONFIG: linux_64_c_compiler_version10cuda_compiler_version11.2cudnn8cxx_compiler_version10python3.9.____cpython
- CONFIG: linux_64_c_compiler_version10cuda_compiler_version11.1cudnn8cxx_compiler_version10python3.9.____cpython
UPLOAD_PACKAGES: True
os: ubuntu
labels:
- self-hosted
- linux
- x64
- cirun-openstack-gpu--${{ github.run_id }}-linux_64_c_compiler_version10cuda_c_h4b2e19d586
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
- cirun-openstack-gpu--${{ github.run_id }}-linux_64_c_compiler_version10cuda_c_h77ddf0f142
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.1
CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all"
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source:

build:
number: 0
skip: true # [not (linux64 and cuda_compiler_version == '11.2' and py == 39)]
skip: true # [not (linux and cuda_compiler_version == '11.1' and py == 39)]
script:
# CuPy default detects CUDA from nvcc, but on Conda-Forge's dockers nvcc lives in a different place...
# With conda-forge/nvcc-feedstock#58, CUDA_PATH is set correctly
Expand Down

0 comments on commit 0d99872

Please sign in to comment.