From c5269cd1d2a8e6295abd175bae6e0d528a97dd1a Mon Sep 17 00:00:00 2001 From: Lalit Kumar Bhasin Date: Thu, 30 May 2024 13:41:04 -0700 Subject: [PATCH] [CI] Fix CI failures on Ubuntu 24.04 (#2686) --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32a3f784fd..fcdf4f0ed8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: CXX: /usr/bin/g++-14 PROTOBUF_VERSION: 21.12 run: | + sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937 sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh sudo -E ./ci/install_protobuf.sh @@ -73,6 +74,7 @@ jobs: CXX: /usr/bin/g++-14 PROTOBUF_VERSION: 21.12 run: | + sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937 sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh sudo -E ./ci/install_protobuf.sh @@ -105,6 +107,7 @@ jobs: CXX: /usr/bin/clang++-18 PROTOBUF_VERSION: 21.12 run: | + sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937 sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh sudo -E ./ci/install_protobuf.sh @@ -137,6 +140,7 @@ jobs: CXX: /usr/bin/clang++-18 PROTOBUF_VERSION: 21.12 run: | + sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937 sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh sudo -E ./ci/install_protobuf.sh @@ -169,6 +173,7 @@ jobs: CXX: /usr/bin/clang++-18 PROTOBUF_VERSION: 21.12 run: | + sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937 sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh sudo -E ./ci/install_protobuf.sh @@ -730,7 +735,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: setup - run: sudo ./ci/install_format_tools.sh + run: sudo apt remove needrestart && sudo ./ci/install_format_tools.sh #refer: https://github.com/actions/runner-images/issues/9937 - name: run tests run: ./ci/do_ci.sh format