File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 3030 strategy :
3131 fail-fast : false
3232 matrix : ${{ fromJSON(inputs.build-matrix) }}
33+ build-result : ${{ inputs.build-result }}
34+ test-result : ${{ inputs.test-result }}
3335 name : test-${{ matrix.cuda-version }}
3436 outputs :
3537 result : ${{ steps.test-step.outputs.result }}
@@ -38,11 +40,14 @@ jobs:
3840 id : check-build-result
3941 run : |
4042 set -euo pipefail
43+ echo "Build result: ${{ inputs.build-result }}"
44+ echo "Build matrix: ${{ build-result }}"
4145 if [ "${{ inputs.build-result }}" == "success" ]; then
4246 echo "Build result is success"
4347 else
4448 echo "Build result is failure"
45- exit -1
49+ exit 1
50+ fi
4651 - name : Check previous test result
4752 id : check-previous-test-result
4853 run : |
5156 echo "Test result is success"
5257 else
5358 echo "Test result is failure"
54- exit -1
59+ exit 1
60+ fi
5561 - name : Test with CUDA ${{ matrix.cuda-version }}
5662 id : test-step
5763 run : |
6066 if [ "${{ matrix.cuda-version }}" == "12.8" ]; then
6167 echo "Testing with CUDA 12.8 is not supported"
6268 echo "result=failure" >> $GITHUB_OUTPUT
63- exit - 1
69+ exit 1
6470 fi
6571 echo "Testing with CUDA ${{ matrix.cuda-version }} successfully completed"
6672 echo "result=success" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments