From cde44faef6175b91d1ca317053fa646bf1a98c58 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 25 Oct 2024 15:09:33 +0900 Subject: [PATCH] build: Restrict to use gcc only This is because this workflow is not injected and used clang packages Signed-off-by: Hiroshi Hatake --- .github/workflows/unit-tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 1e28a498221..40ae79475a9 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -196,12 +196,12 @@ jobs: --volume "/etc/machine-id:/etc/machine-id" install: | apt-get update - apt-get install -y gcc-7 g++-7 clang-6.0 libyaml-dev cmake flex bison libssl-dev libbpf-dev linux-tools-common#libsystemd-dev - ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true + apt-get install -y gcc-7 g++-7 libyaml-dev cmake flex bison libssl-dev libbpf-dev linux-tools-common #clang-6.0 libsystemd-dev + # ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90 - update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 90 + # update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 90 run: | cd build export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))