File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 description : Whether to test a single-precision (fp32) build
2828 type : boolean
2929 required : true
30+ test_single_complex :
31+ description : Whether to test a single-precision complex build
32+ type : boolean
33+ required : true
3034 test_cuda :
3135 description : Whether to test using CUDA-enabled PETSc
3236 type : boolean
6266 description : Whether to test a single-precision (fp32) build
6367 type : boolean
6468 required : true
69+ test_single_complex :
70+ description : Whether to test a single-precision complex build
71+ type : boolean
72+ required : true
6573 test_cuda :
6674 description : Whether to test using CUDA-enabled PETSc
6775 type : boolean
@@ -280,6 +288,14 @@ jobs:
280288 matrix="$arch"
281289 fi
282290 fi
291+ if [ ${{ inputs.test_single_complex }} == 'true' ]; then
292+ arch='{"scalar_type": "single-complex", "gpu": "none"}'
293+ if [ "$matrix" ]; then
294+ matrix="$matrix, $arch"
295+ else
296+ matrix="$arch"
297+ fi
298+ fi
283299 if [ ${{ inputs.test_cuda }} == 'true' ]; then
284300 arch='{"scalar_type": "default", "gpu": "cuda"}'
285301 if [ "$matrix" ]; then
Original file line number Diff line number Diff line change 2424 # is on the PR, otherwise do nothing.
2525 test_complex : ${{ contains(github.event.pull_request.labels.*.name, 'ci:complex') }}
2626 test_single : ${{ contains(github.event.pull_request.labels.*.name, 'ci:single') }}
27+ test_single_complex : ${{ contains(github.event.pull_request.labels.*.name, 'ci:single-complex') }}
2728 test_cuda : ${{ contains(github.event.pull_request.labels.*.name, 'ci:cuda') }}
2829 test_macos : ${{ contains(github.event.pull_request.labels.*.name, 'ci:macos') }}
2930 secrets : inherit
Original file line number Diff line number Diff line change 1515 base_ref : ${{ github.ref_name }}
1616 test_complex : true
1717 test_single : true
18+ test_single_complex : true
1819 test_cuda : true
1920 test_macos : true
2021 deploy_website : true
You can’t perform that action at this time.
0 commit comments