File tree Expand file tree Collapse file tree 5 files changed +100
-5
lines changed Expand file tree Collapse file tree 5 files changed +100
-5
lines changed Original file line number Diff line number Diff line change 12
12
RUST_BACKTRACE : 1
13
13
14
14
jobs :
15
- success :
15
+ build :
16
16
runs-on : ubuntu-24.04
17
17
18
18
strategy :
@@ -108,3 +108,22 @@ jobs:
108
108
echo "Error: 'the compiler unexpectedly panicked' found in output logs. CI Error!!"
109
109
exit 1
110
110
fi
111
+
112
+ # Summary job for the merge queue.
113
+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
114
+ success_failures :
115
+ needs : [build]
116
+ # We need to ensure this job does *not* get skipped if its dependencies fail,
117
+ # because a skipped job is considered a success by GitHub. So we have to
118
+ # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
119
+ # when the workflow is canceled manually.
120
+ if : ${{ !cancelled() }}
121
+ runs-on : ubuntu-latest
122
+ steps :
123
+ # Manually check the status of all dependencies. `if: failure()` does not work.
124
+ - name : Conclusion
125
+ run : |
126
+ # Print the dependent jobs to see them in the CI log
127
+ jq -C <<< '${{ toJson(needs) }}'
128
+ # Check if all jobs that we depend on (in the needs array) were successful.
129
+ jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Original file line number Diff line number Diff line change 15
15
GCC_EXEC_PREFIX : /usr/lib/gcc/
16
16
17
17
jobs :
18
- success :
18
+ build :
19
19
runs-on : ubuntu-24.04
20
20
21
21
strategy :
84
84
# - name: Run tests
85
85
# run: |
86
86
# ./y.sh test --release --clean --build-sysroot ${{ matrix.commands }} --no-default-features
87
+
88
+ # Summary job for the merge queue.
89
+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
90
+ success_gcc12 :
91
+ needs : [build]
92
+ # We need to ensure this job does *not* get skipped if its dependencies fail,
93
+ # because a skipped job is considered a success by GitHub. So we have to
94
+ # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
95
+ # when the workflow is canceled manually.
96
+ if : ${{ !cancelled() }}
97
+ runs-on : ubuntu-latest
98
+ steps :
99
+ # Manually check the status of all dependencies. `if: failure()` does not work.
100
+ - name : Conclusion
101
+ run : |
102
+ # Print the dependent jobs to see them in the CI log
103
+ jq -C <<< '${{ toJson(needs) }}'
104
+ # Check if all jobs that we depend on (in the needs array) were successful.
105
+ jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Original file line number Diff line number Diff line change 15
15
OVERWRITE_TARGET_TRIPLE : m68k-unknown-linux-gnu
16
16
17
17
jobs :
18
- success :
18
+ build :
19
19
runs-on : ubuntu-24.04
20
20
21
21
strategy :
@@ -104,3 +104,22 @@ jobs:
104
104
- name : Run tests
105
105
run : |
106
106
./y.sh test --release --clean --build-sysroot --sysroot-features compiler_builtins/no-f16-f128 ${{ matrix.commands }}
107
+
108
+ # Summary job for the merge queue.
109
+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
110
+ success_m68k :
111
+ needs : [build]
112
+ # We need to ensure this job does *not* get skipped if its dependencies fail,
113
+ # because a skipped job is considered a success by GitHub. So we have to
114
+ # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
115
+ # when the workflow is canceled manually.
116
+ if : ${{ !cancelled() }}
117
+ runs-on : ubuntu-latest
118
+ steps :
119
+ # Manually check the status of all dependencies. `if: failure()` does not work.
120
+ - name : Conclusion
121
+ run : |
122
+ # Print the dependent jobs to see them in the CI log
123
+ jq -C <<< '${{ toJson(needs) }}'
124
+ # Check if all jobs that we depend on (in the needs array) were successful.
125
+ jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Original file line number Diff line number Diff line change 11
11
RUST_BACKTRACE : 1
12
12
13
13
jobs :
14
- success :
14
+ build :
15
15
runs-on : ubuntu-24.04
16
16
17
17
strategy :
81
81
echo "Test is done with LTO enabled, hence inlining should occur across crates"
82
82
exit 1
83
83
fi
84
+
85
+ # Summary job for the merge queue.
86
+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
87
+ success_release :
88
+ needs : [build]
89
+ # We need to ensure this job does *not* get skipped if its dependencies fail,
90
+ # because a skipped job is considered a success by GitHub. So we have to
91
+ # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
92
+ # when the workflow is canceled manually.
93
+ if : ${{ !cancelled() }}
94
+ runs-on : ubuntu-latest
95
+ steps :
96
+ # Manually check the status of all dependencies. `if: failure()` does not work.
97
+ - name : Conclusion
98
+ run : |
99
+ # Print the dependent jobs to see them in the CI log
100
+ jq -C <<< '${{ toJson(needs) }}'
101
+ # Check if all jobs that we depend on (in the needs array) were successful.
102
+ jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Original file line number Diff line number Diff line change 11
11
RUST_BACKTRACE : 1
12
12
13
13
jobs :
14
- success :
14
+ build :
15
15
runs-on : ubuntu-24.04
16
16
17
17
strategy :
@@ -101,3 +101,22 @@ jobs:
101
101
# TODO: remove --skip test_mm512_stream_ps when stdarch is updated in rustc.
102
102
# TODO: remove --skip test_tile_ when it's implemented.
103
103
STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features --cfg stdarch_intel_sde" ./y.sh cargo test --manifest-path build/build_sysroot/sysroot_src/library/stdarch/Cargo.toml -- --skip rtm --skip tbm --skip sse4a --skip test_mm512_stream_ps --skip test_tile_
104
+
105
+ # Summary job for the merge queue.
106
+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
107
+ success_stdarch :
108
+ needs : [build]
109
+ # We need to ensure this job does *not* get skipped if its dependencies fail,
110
+ # because a skipped job is considered a success by GitHub. So we have to
111
+ # overwrite `if:`. We use `!cancelled()` to ensure the job does still not get run
112
+ # when the workflow is canceled manually.
113
+ if : ${{ !cancelled() }}
114
+ runs-on : ubuntu-latest
115
+ steps :
116
+ # Manually check the status of all dependencies. `if: failure()` does not work.
117
+ - name : Conclusion
118
+ run : |
119
+ # Print the dependent jobs to see them in the CI log
120
+ jq -C <<< '${{ toJson(needs) }}'
121
+ # Check if all jobs that we depend on (in the needs array) were successful.
122
+ jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
You can’t perform that action at this time.
0 commit comments