From 8a6793543a1e6dbb8491a5a328a20ed146401892 Mon Sep 17 00:00:00 2001 From: yut23 Date: Fri, 3 Jan 2025 20:47:48 -0500 Subject: [PATCH] CI: add llvm-* package for llvm-symbolizer --- .github/actions/answer-test-action/action.yml | 3 --- .github/actions/unit-test-action/action.yml | 3 --- .github/workflows/Dockerfile | 7 +++++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/actions/answer-test-action/action.yml b/.github/actions/answer-test-action/action.yml index d162203..ecd62f0 100644 --- a/.github/actions/answer-test-action/action.yml +++ b/.github/actions/answer-test-action/action.yml @@ -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 }} diff --git a/.github/actions/unit-test-action/action.yml b/.github/actions/unit-test-action/action.yml index 0eb93da..f28e8ca 100644 --- a/.github/actions/unit-test-action/action.yml +++ b/.github/actions/unit-test-action/action.yml @@ -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 }} diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index 428be29..298673a 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -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"]