|
93 | 93 | # we do not need. We do this to enable some of the less resource
|
94 | 94 | # intensive jobs to run on free runners, which however also have
|
95 | 95 | # less disk space.
|
96 |
| - - name: free up disk space |
97 |
| - run: src/ci/scripts/free-disk-space.sh |
98 |
| - if: matrix.free_disk |
| 96 | + # - name: free up disk space |
| 97 | + # run: src/ci/scripts/free-disk-space.sh |
| 98 | + # if: matrix.free_disk |
99 | 99 |
|
100 | 100 | # Rust Log Analyzer can't currently detect the PR number of a GitHub
|
101 | 101 | # Actions build on its own, so a hint in the log message is needed to
|
@@ -148,8 +148,8 @@ jobs:
|
148 | 148 | - name: disable git crlf conversion
|
149 | 149 | run: src/ci/scripts/disable-git-crlf-conversion.sh
|
150 | 150 |
|
151 |
| - - name: checkout submodules |
152 |
| - run: src/ci/scripts/checkout-submodules.sh |
| 151 | + # - name: checkout submodules |
| 152 | + # run: src/ci/scripts/checkout-submodules.sh |
153 | 153 |
|
154 | 154 | - name: install MinGW
|
155 | 155 | run: src/ci/scripts/install-mingw.sh
|
@@ -190,12 +190,26 @@ jobs:
|
190 | 190 | CARGO_TARGET_DIR=../../../build/citool cargo build
|
191 | 191 |
|
192 | 192 | - name: run the build
|
193 |
| - # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs. |
194 |
| - run: src/ci/scripts/run-build-from-ci.sh 2>&1 |
| 193 | + run: | |
| 194 | + set +e |
| 195 | + # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs. |
| 196 | + # src/ci/scripts/run-build-from-ci.sh 2>&1 |
| 197 | + (exit 33) |
| 198 | + STATUS=$? |
| 199 | + set -e |
| 200 | +
|
| 201 | + if [[ STATUS != 0 ]]; then |
| 202 | + echo "https://rustc-dev-guide.rust-lang.org/tests/fuchsia.html" |
| 203 | + fi |
| 204 | + exit ${STATUS} |
195 | 205 | env:
|
196 | 206 | AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
|
197 | 207 | AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
|
198 | 208 |
|
| 209 | + - name: Print CI helper link |
| 210 | + if: ${{ failure() }} |
| 211 | + run: echo "https://rustc-dev-guide.rust-lang.org/tests/fuchsia.html" |
| 212 | + |
199 | 213 | - name: create github artifacts
|
200 | 214 | run: src/ci/scripts/create-doc-artifacts.sh
|
201 | 215 |
|
|
0 commit comments