Add some ls commands to help diagnose tool issues (#2540)

We're seeing some test runs where `clang` isn't in the path on macos. I suspect it's a bad image, and can't reproduce it, but want to add these commands to help provide debug info for potential future problems.

e.g., the `ls` output: https://github.com/carbon-language/carbon-lang/actions/runs/3963366092/jobs/6791110228

e.g., the bad image: https://github.com/carbon-language/carbon-lang/actions/runs/3963270727/jobs/6790912681
This commit is contained in:
Jon Ross-Perkins
2023-01-19 18:24:13 -08:00
committed by GitHub
parent 52b11c3cb8
commit 09ac000305
+6
View File
@@ -65,6 +65,10 @@ jobs:
if: matrix.os == 'macos-12'
run: |
echo "$(brew --prefix llvm@14)/bin" >> $GITHUB_PATH
echo '*** ls "$(brew --prefix llvm@14)"'
ls "$(brew --prefix llvm@14)"
echo '*** ls "$(brew --prefix llvm@14)/bin"'
ls "$(brew --prefix llvm@14)/bin"
# Use LLVM 14 following:
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
@@ -72,6 +76,8 @@ jobs:
if: matrix.os == 'ubuntu-22.04'
run: |
echo "/usr/lib/llvm-14/bin" >> $GITHUB_PATH
echo '*** ls /usr/lib/llvm-14/bin'
ls /usr/lib/llvm-14/bin
# Print the various tool paths and versions to help in debugging.
- name: Print tool debugging info