Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable for llvm-symbolizer for GitHub test workflow #1254

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
sudo apt-get install -y libunwind-14 libc++abi1-14 libc++1-14 libc++-14-dev
echo "build:linux --action_env=CC=/usr/lib/llvm-14/bin/clang --action_env=CXX=/usr/lib/llvm-14/bin/clang++" >> .bazelrc
echo "build:linux --host_action_env=CC=/usr/lib/llvm-14/bin/clang --host_action_env=CXX=/usr/lib/llvm-14/bin/clang++" >> .bazelrc
sed -i -e "s%llvm-symbolizer%/usr/lib/llvm-14/bin/llvm-symbolizer%" .bazelrc
- name: Setup macOS
if: runner.os == 'macOS'
# We want to symbolize stacks for crashes on CI. Xcode is currently based on LLVM 15
# and the macos-12 image has llvm@15 installed:
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
run: |
export LLVM_SYMBOLIZER=$(brew --prefix llvm@15)/bin/llvm-symbolizer
sed -i -e "s%llvm-symbolizer%${LLVM_SYMBOLIZER}%" .bazelrc
- name: Setup Windows
if: runner.os == 'Windows'
# Set a custom output dir and disable generating debug information on Windows. By default,
Expand Down
Loading