File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 RUST_BACKTRACE : 1
2222
2323jobs :
24+ changes :
25+ name : " Detect CUDA changes"
26+ runs-on : ubuntu-latest
27+ timeout-minutes : 10
28+ permissions :
29+ pull-requests : read
30+ outputs :
31+ run-cuda-san : ${{ github.event_name != 'pull_request' || steps.filter.outputs.cuda == 'true' }}
32+ steps :
33+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
34+ - uses : dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
35+ id : filter
36+ if : github.event_name == 'pull_request'
37+ with :
38+ filters : |
39+ cuda:
40+ - "vortex-cuda/**"
41+ - "vortex-test/**"
42+ - ".github/workflows/**"
43+
2444 cuda-build-lint :
2545 if : github.repository == 'vortex-data/vortex'
2646 name : " CUDA build & lint"
@@ -92,7 +112,10 @@ jobs:
92112 --verbose
93113
94114 cuda-test-sanitizer :
95- if : github.repository == 'vortex-data/vortex'
115+ needs : [changes]
116+ if : >-
117+ always() && github.repository == 'vortex-data/vortex' &&
118+ needs.changes.outputs.run-cuda-san == 'true'
96119 name : " CUDA tests (${{ matrix.sanitizer }})"
97120 timeout-minutes : 30
98121 runs-on : runs-on=${{ github.run_id }}/runner=gpu/tag=cuda-test-sanitizer
You can’t perform that action at this time.
0 commit comments