File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 generate-matrix :
10+ name : Generate Matrix
11+ id : generate-matrix
1012 runs-on : ubuntu-latest
1113 outputs :
1214 matrix : ${{ steps.generate-matrix.outputs.matrix }}
1719 echo "matrix={\"cuda-version\":[\"12.8\", \"13.0\"]}" >> $GITHUB_OUTPUT
1820
1921 build :
22+ name : Build
23+ id : build
2024 runs-on : ubuntu-latest
2125 needs : [generate-matrix]
26+ outputs :
27+ result : ${{ steps.build-step.outputs.result }}
2228 strategy :
2329 matrix : ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
2430 steps :
@@ -33,14 +39,16 @@ jobs:
3339 fi
3440
3541 test :
36- needs : [build]
37- if : always() && needs.build.build-step.outputs.result == 'success'
42+ name : Test
43+ id : test
44+ needs : [generate-matrix, build]
45+ if : always() && needs.build.outputs.result == 'success'
3846 runs-on : ubuntu-latest
3947 strategy :
4048 matrix : ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
4149 steps :
4250 - name : Test with CUDA ${{ matrix.cuda-version }}
4351 run : |
44- echo "needs.build.build-step .result=${{ needs.build.build-step .result }}"
52+ echo "needs.build.outputs .result=${{ needs.build.outputs .result }}"
4553 echo "Testing with CUDA ${{ matrix.cuda-version }}"
4654
You can’t perform that action at this time.
0 commit comments