Skip to content

Commit

Permalink
CI: add llvm-* package for llvm-symbolizer
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed Jan 4, 2025
1 parent 238ccbd commit 8a67935
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/actions/answer-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,4 @@ runs:
echo '::endgroup::'
echo
if [[ $CXX == clang++-* ]]; then
export ASAN_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-${CXX#clang++-}"
fi
./run_answer_tests.sh ${{ matrix.TARGET.name }}
3 changes: 0 additions & 3 deletions .github/actions/unit-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,4 @@ runs:
echo '::endgroup::'
echo
if [[ $CXX == clang++-* ]]; then
export ASAN_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-${CXX#clang++-}"
fi
make ${{ matrix.TARGET.name }}
7 changes: 5 additions & 2 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ RUN IFS=,; \
RUN IFS=,; \
for llvm_version in $LLVM_VERSIONS; do \
apt-get install -y --no-install-recommends \
clang-${llvm_version} libclang-rt-${llvm_version}-dev \
libc++-${llvm_version}-dev libc++abi-${llvm_version}-dev; \
clang-${llvm_version} \
llvm-${llvm_version} \
libclang-rt-${llvm_version}-dev \
libc++-${llvm_version}-dev \
libc++abi-${llvm_version}-dev; \
done;
CMD ["/bin/bash"]

0 comments on commit 8a67935

Please sign in to comment.