From 6dab699ce2b7d44c1e57a9f46f43ff233ef3b1d1 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 25 Oct 2024 15:13:43 +0900 Subject: [PATCH] build: Use gcc-9 and g++-9 on qemu workflow 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 40ae79475a9..b8dcf73ec63 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -196,11 +196,11 @@ jobs: --volume "/etc/machine-id:/etc/machine-id" install: | apt-get update - 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 + apt-get install -y gcc-9 g++-9 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/gcc gcc /usr/bin/gcc-9 90 + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90 # update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 90 run: | cd build