Skip to content

Commit 4ac2354

Browse files
committed
test(ci): allow CUDA 11.8 dependency solve
1 parent a6fae7e commit 4ac2354

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

‎.github/workflows/test-cuda-118-wheels.yaml‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ jobs:
6767
"${cudaChannel}::libcublas=11.11.3.6",
6868
"${cudaChannel}::libcublas-dev=11.11.3.6"
6969
)
70-
mamba install -y --channel-priority strict --override-channels -c $cudaChannel $cudaPackages
71-
python -m pip install build wheel
70+
mamba install -y --channel-priority flexible --override-channels -c $cudaChannel $cudaPackages
7271
} elseif ($IsWindows) {
7372
$cudaPackages = @(
7473
"${cudaChannel}::cuda-nvcc_win-64=11.8.0",
@@ -78,11 +77,18 @@ jobs:
7877
"${cudaChannel}::libcublas=11.11.3.6",
7978
"${cudaChannel}::libcublas-dev=11.11.3.6"
8079
)
81-
mamba install -y --channel-priority strict --override-channels -c $cudaChannel $cudaPackages
82-
python -m pip install build wheel ninja
80+
mamba install -y --channel-priority flexible --override-channels -c $cudaChannel $cudaPackages
8381
} else {
8482
throw 'Unsupported CUDA wheel build platform'
8583
}
84+
if ($LASTEXITCODE -ne 0) {
85+
exit $LASTEXITCODE
86+
}
87+
if ($IsWindows) {
88+
python -m pip install build wheel ninja
89+
} else {
90+
python -m pip install build wheel
91+
}
8692
8793
- name: Build wheel
8894
run: |

0 commit comments

Comments
 (0)