File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,9 @@ jobs:
196
196
197
197
llvm_test_suite :
198
198
needs : [build, aws-start]
199
- if : ${{ !failure() && inputs.lts_matrix != '[]' }}
199
+ # Continue if build was successful. If aws-start is not successful all
200
+ # AWS tasks will fail, but all non-AWS tasks should continue.
201
+ if : ${{ always() && (needs.build.outputs.job_status=='success') && inputs.lts_matrix != '[]' }}
200
202
strategy :
201
203
fail-fast : false
202
204
max-parallel : ${{ inputs.max_parallel }}
@@ -243,7 +245,7 @@ jobs:
243
245
check_sycl_all : ${{ matrix.check_sycl_all }}
244
246
results_name_suffix : ${{ matrix.config }}_${{ inputs.build_artifact_suffix }}
245
247
cmake_args : ' ${{ matrix.cmake_args }} ${{ inputs.lts_cmake_extra_args }}'
246
-
248
+
247
249
khronos_sycl_cts :
248
250
needs : build
249
251
if : ${{ inputs.cts_matrix != '' }}
@@ -294,6 +296,8 @@ jobs:
294
296
aws-stop :
295
297
name : Stop AWS
296
298
needs : [ aws-start, llvm_test_suite ]
299
+ # Always attempt to shutdown AWS instance, even if AWS start was not
300
+ # successful.
297
301
if : ${{ always() && inputs.lts_aws_matrix != '[]' }}
298
302
runs-on : ubuntu-latest
299
303
environment : aws
Original file line number Diff line number Diff line change 74
74
},
75
75
{
76
76
"config" : " cuda_aws" ,
77
- "name" : " CUDA LLVM Test Suite" ,
77
+ "name" : " [AWS] CUDA LLVM Test Suite" ,
78
78
"runs-on" : " aws-cuda_${{ inputs.uniq }}" ,
79
79
"aws-ami" : " ami-01cb0573cb039ab24" ,
80
80
"aws-type" : [ " g5.2xlarge" , " g5.4xlarge" ],
You can’t perform that action at this time.
0 commit comments