We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 547c12b commit bb84358Copy full SHA for bb84358
appveyor.yml
@@ -148,8 +148,7 @@ test_script:
148
- sh src/ci/run.sh
149
150
on_failure:
151
- - cat %CD%\sccache.log
152
- - cat C:\Users\appveyor\AppData\Local\Temp\1\build-cache-logs\*.log
+ - cat %CD%\sccache.log || exit 0
153
154
cache:
155
- C:\cache\rustsrc
src/ci/init_repo.sh
@@ -41,6 +41,8 @@ if [ ! -f "$cache_valid_file" ]; then
41
rm -rf "$CACHE_DIR"
42
mkdir "$CACHE_DIR"
43
else
44
+ # Ignore errors while gathering information about the possible brokenness
45
+ # of the git repo since our gathered info will tell us something is wrong
46
set +o errexit
47
stat_lines=$(cd "$cache_src_dir" && git status --porcelain | wc -l)
48
stat_ec=$(cd "$cache_src_dir" && git status >/dev/null 2>&1; echo $?)
0 commit comments