Skip to content

Commit 8f907ab

Browse files
committed
WIP
1 parent 808792b commit 8f907ab

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/workflows/ci.yml

+21-7
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
# we do not need. We do this to enable some of the less resource
9494
# intensive jobs to run on free runners, which however also have
9595
# 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
9999

100100
# Rust Log Analyzer can't currently detect the PR number of a GitHub
101101
# Actions build on its own, so a hint in the log message is needed to
@@ -148,8 +148,8 @@ jobs:
148148
- name: disable git crlf conversion
149149
run: src/ci/scripts/disable-git-crlf-conversion.sh
150150

151-
- name: checkout submodules
152-
run: src/ci/scripts/checkout-submodules.sh
151+
# - name: checkout submodules
152+
# run: src/ci/scripts/checkout-submodules.sh
153153

154154
- name: install MinGW
155155
run: src/ci/scripts/install-mingw.sh
@@ -190,12 +190,26 @@ jobs:
190190
CARGO_TARGET_DIR=../../../build/citool cargo build
191191
192192
- 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}
195205
env:
196206
AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
197207
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
198208

209+
- name: Print CI helper link
210+
if: ${{ failure() }}
211+
run: echo "https://rustc-dev-guide.rust-lang.org/tests/fuchsia.html"
212+
199213
- name: create github artifacts
200214
run: src/ci/scripts/create-doc-artifacts.sh
201215

0 commit comments

Comments
 (0)