Skip to content

Commit 4510a2a

Browse files
committed
workflows: Use gcc 14 and clang 14 on ubuntu noble(24.04)
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent c1dfe9a commit 4510a2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
FLB_OPT: ${{ matrix.flb_option }}
157157

158158
run-aarch64-unit-tests:
159-
runs-on: ${{(github.repository == 'fluent/fluent-bit') && 'ubuntu-22.04-arm' || 'ubuntu-latest' }}
159+
runs-on: ${{(github.repository == 'fluent/fluent-bit') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
160160
permissions:
161161
contents: read
162162
needs:
@@ -183,8 +183,8 @@ jobs:
183183
- name: Setup environment
184184
run: |
185185
sudo apt-get update
186-
sudo apt-get install -y gcc-9 g++-9 clang-12 flex bison libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common curl tar gzip
187-
sudo ln -s /usr/bin/llvm-symbolizer-12 /usr/bin/llvm-symbolizer || true
186+
sudo apt-get install -y gcc-14 g++-14 clang-14 flex bison libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common curl tar gzip
187+
sudo ln -s /usr/bin/llvm-symbolizer-14 /usr/bin/llvm-symbolizer || true
188188
sudo mkdir -p "${CMAKE_HOME}"
189189
cmake_url="https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz"
190190
cmake_dist="$(mktemp --suffix ".tar.gz")"
@@ -199,9 +199,9 @@ jobs:
199199

200200
- name: Build and test with arm runners
201201
run: |
202-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90
203-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90
204-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 90
202+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 90
203+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 90
204+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 90
205205
206206
export nparallel=$(( $(getconf _NPROCESSORS_ONLN) > 8 ? 8 : $(getconf _NPROCESSORS_ONLN) ))
207207
export FLB_OPTION="${{ matrix.config.flb_option }}"

0 commit comments

Comments
 (0)