Skip to content

Commit 6ade91b

Browse files
committed
ready for full test!
1 parent 65e19b2 commit 6ade91b

File tree

2 files changed

+66
-74
lines changed

2 files changed

+66
-74
lines changed

.github/workflows/build-and-test.yml

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
host-platform:
27-
# - linux-64
28-
# - linux-aarch64
27+
- linux-64
28+
- linux-aarch64
2929
- win-64
3030
python-version:
31-
# - "3.13"
31+
- "3.13"
3232
- "3.12"
33-
# - "3.11"
34-
# - "3.10"
35-
# - "3.9"
33+
- "3.11"
34+
- "3.10"
35+
- "3.9"
3636
cuda-version:
3737
# Note: this is for build-time only.
3838
- "12.8.0"
@@ -208,56 +208,56 @@ jobs:
208208
run: |
209209
echo "CUDA_VERSION=${{ matrix.cuda-version }}" >> $GITHUB_OUTPUT
210210
211-
# test-linux:
212-
# strategy:
213-
# fail-fast: false
214-
# # TODO: add driver version here
215-
# matrix:
216-
# host-platform:
217-
# - linux-64
218-
# - linux-aarch64
219-
# python-version:
220-
# - "3.13"
221-
# - "3.12"
222-
# - "3.11"
223-
# - "3.10"
224-
# - "3.9"
225-
# cuda-version:
226-
# # Note: this is for test-time only.
227-
# - "12.8.0"
228-
# - "12.0.1"
229-
# - "11.8.0"
230-
# local-ctk:
231-
# - 1 # use mini CTK
232-
# - 0 # use CTK wheels
233-
# runner:
234-
# - default
235-
# exclude:
236-
# # To test this combo would require nontrivial installation steps.
237-
# - cuda-version: "12.0.1"
238-
# local-ctk: 0
239-
# include:
240-
# - host-platform: linux-64
241-
# python-version: "3.12"
242-
# cuda-version: "12.8.0"
243-
# local-ctk: 1
244-
# runner: H100
245-
# name: Test (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }}, Runner ${{ matrix.runner }}, ${{ (matrix.local-ctk == '1' && 'local CTK') || 'CTK wheels' }})
246-
# if: ${{ github.repository_owner == 'nvidia' }}
247-
# permissions:
248-
# contents: read # This is required for actions/checkout
249-
# needs:
250-
# - build
251-
# secrets: inherit
252-
# uses:
253-
# ./.github/workflows/test-wheel-linux.yml
254-
# with:
255-
# host-platform: ${{ matrix.host-platform }}
256-
# python-version: ${{ matrix.python-version }}
257-
# build-ctk-ver: ${{ needs.build.outputs.BUILD_CTK_VER }}
258-
# cuda-version: ${{ matrix.cuda-version }}
259-
# local-ctk: ${{ matrix.local-ctk}}
260-
# runner: ${{ matrix.runner }}
211+
test-linux:
212+
strategy:
213+
fail-fast: false
214+
# TODO: add driver version here
215+
matrix:
216+
host-platform:
217+
- linux-64
218+
- linux-aarch64
219+
python-version:
220+
- "3.13"
221+
- "3.12"
222+
- "3.11"
223+
- "3.10"
224+
- "3.9"
225+
cuda-version:
226+
# Note: this is for test-time only.
227+
- "12.8.0"
228+
- "12.0.1"
229+
- "11.8.0"
230+
local-ctk:
231+
- 1 # use mini CTK
232+
- 0 # use CTK wheels
233+
runner:
234+
- default
235+
exclude:
236+
# To test this combo would require nontrivial installation steps.
237+
- cuda-version: "12.0.1"
238+
local-ctk: 0
239+
include:
240+
- host-platform: linux-64
241+
python-version: "3.12"
242+
cuda-version: "12.8.0"
243+
local-ctk: 1
244+
runner: H100
245+
name: Test (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }}, Runner ${{ matrix.runner }}, ${{ (matrix.local-ctk == '1' && 'local CTK') || 'CTK wheels' }})
246+
if: ${{ github.repository_owner == 'nvidia' }}
247+
permissions:
248+
contents: read # This is required for actions/checkout
249+
needs:
250+
- build
251+
secrets: inherit
252+
uses:
253+
./.github/workflows/test-wheel-linux.yml
254+
with:
255+
host-platform: ${{ matrix.host-platform }}
256+
python-version: ${{ matrix.python-version }}
257+
build-ctk-ver: ${{ needs.build.outputs.BUILD_CTK_VER }}
258+
cuda-version: ${{ matrix.cuda-version }}
259+
local-ctk: ${{ matrix.local-ctk}}
260+
runner: ${{ matrix.runner }}
261261

262262
test-windows:
263263
strategy:
@@ -270,11 +270,11 @@ jobs:
270270
- "3.12"
271271
cuda-version:
272272
# Note: this is for test-time only.
273-
# - "12.8.0"
273+
- "12.8.0"
274274
- "11.8.0"
275275
local-ctk:
276276
- 1 # use mini CTK
277-
# - 0 # use CTK wheels
277+
- 0 # use CTK wheels
278278
runner:
279279
- default
280280
name: Test (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }}, Runner ${{ matrix.runner }}, ${{ (matrix.local-ctk == '1' && 'local CTK') || 'CTK wheels' }})
@@ -316,7 +316,7 @@ jobs:
316316
checks: read
317317
needs:
318318
- build
319-
# - test-linux
319+
- test-linux
320320
- test-windows
321321
- doc
322322
secrets: inherit

.github/workflows/test-wheel-windows.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939

40-
# - name: Update driver
41-
# run: |
42-
# .github/workflows/install_gpu_driver.ps1
43-
#
44-
# - name: Ensure GPU is working
45-
# run: nvidia-smi
40+
- name: Update driver
41+
run: |
42+
.github/workflows/install_gpu_driver.ps1
43+
44+
- name: Ensure GPU is working
45+
run: nvidia-smi
4646

4747
- name: Set environment variables
4848
run: |
@@ -126,7 +126,7 @@ jobs:
126126
ls -l $env:ZSTD_DIR
127127
echo "$((Get-Location).Path)\\$env:ZSTD_DIR" >> $env:GITHUB_PATH
128128
$env:Path += ";$((Get-Location).Path)\\$env:ZSTD_DIR"
129-
zstd -h
129+
zstd --version
130130
131131
- name: Download cuda-python & cuda.bindings build artifacts from the prior branch
132132
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '1'}}
@@ -187,14 +187,6 @@ jobs:
187187
host-platform: ${{ inputs.host-platform }}
188188
cuda-version: ${{ inputs.cuda-version }}
189189

190-
- name: DEBUG
191-
if: ${{ inputs.local-ctk == '1' }}
192-
run: |
193-
echo $env:CUDA_PATH
194-
echo $env:Path
195-
Get-Location $env:CUDA_PATH
196-
Get-Location $env:CUDA_PATH/bin
197-
198190
- name: Run cuda.bindings tests
199191
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0' }}
200192
run: |

0 commit comments

Comments
 (0)