Skip to content

Commit

Permalink
Add GPU architecture env variables (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Dec 22, 2022
1 parent ec72ec8 commit 66c1286
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/validate-domain-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
export PACKAGE_TYPE="${{ matrix.package_type }}"
export CHANNEL="${{ matrix.channel }}"
export SMOKE_TEST="${{ inputs.smoke_test }}"
export GPU_ARCH_VER="${{ matrix.gpu_arch_version }}"
export GPU_ARCH_TYPE="${{ matrix.gpu_arch_type }}"
export DESIRED_CUDA="${{ matrix.desired_cuda }}"
eval $SMOKE_TEST
validate-windows:
if: (inputs.os == 'windows' || inputs.os == 'all')
Expand All @@ -114,6 +117,9 @@ jobs:
export PACKAGE_TYPE="${{ matrix.package_type }}"
export CHANNEL="${{ matrix.channel }}"
export SMOKE_TEST="${{ inputs.smoke_test }}"
export GPU_ARCH_VER="${{ matrix.gpu_arch_version }}"
export GPU_ARCH_TYPE="${{ matrix.gpu_arch_type }}"
export DESIRED_CUDA="${{ matrix.desired_cuda }}"
export TARGET_OS="windows"
eval $SMOKE_TEST
validate-macos:
Expand All @@ -136,6 +142,9 @@ jobs:
export PACKAGE_TYPE="${{ matrix.package_type }}"
export CHANNEL="${{ matrix.channel }}"
export SMOKE_TEST="${{ inputs.smoke_test }}"
export GPU_ARCH_VER="${{ matrix.gpu_arch_version }}"
export GPU_ARCH_TYPE="${{ matrix.gpu_arch_type }}"
export DESIRED_CUDA="${{ matrix.desired_cuda }}"
eval $SMOKE_TEST
validate-macos-arm64:
if: (inputs.os == 'macos-arm64' || inputs.os == 'all')
Expand All @@ -157,4 +166,7 @@ jobs:
export PACKAGE_TYPE="${{ matrix.package_type }}"
export CHANNEL="${{ matrix.channel }}"
export SMOKE_TEST="${{ inputs.smoke_test }}"
export GPU_ARCH_VER="${{ matrix.gpu_arch_version }}"
export GPU_ARCH_TYPE="${{ matrix.gpu_arch_type }}"
export DESIRED_CUDA="${{ matrix.desired_cuda }}"
eval $SMOKE_TEST

0 comments on commit 66c1286

Please sign in to comment.