File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,13 @@ jobs:
8888 # See tools/ci/src/main.rs for the commands this runs
8989 run : cargo run -p ci -- lints
9090
91- miri-partitions :
91+ miri-setup- partitions :
9292 runs-on : ubuntu-latest
9393 outputs :
94- partitions : ${{ steps.env .outputs.partitions }}
94+ partitions : ${{ steps.list .outputs.partitions }}
9595 steps :
96- - id : env
96+ - name : Setup partition list
97+ id : list
9798 run : |
9899 count=50
99100 t="["
@@ -103,11 +104,11 @@ jobs:
103104 done
104105 echo "partitions=$t$count]" >> $GITHUB_OUTPUT
105106
106- miri :
107- needs : [miri-partitions]
107+ miri-run-partitions :
108+ needs : [miri-setup- partitions]
108109 strategy :
109110 matrix :
110- partition : ${{ fromJSON(needs.miri-partitions.outputs.partitions) }}
111+ partition : ${{ fromJSON(needs.miri-setup- partitions.outputs.partitions) }}
111112 runs-on : macos-latest
112113 timeout-minutes : 60
113114 steps :
@@ -145,6 +146,13 @@ jobs:
145146 # -Zmiri-ignore-leaks is necessary because a bunch of tests don't join all threads before finishing.
146147 MIRIFLAGS : -Zmiri-ignore-leaks -Zmiri-disable-isolation
147148
149+ miri :
150+ runs-on : ubuntu-latest
151+ needs : [miri-run-partitions]
152+ if : always()
153+ steps :
154+ - run : ${{ !contains(needs.*.result, 'failure') }}
155+
148156 check-compiles :
149157 runs-on : ubuntu-latest
150158 timeout-minutes : 30
You can’t perform that action at this time.
0 commit comments