From 86fe5f41cdb18e302cb45086430b0358a00fe28b Mon Sep 17 00:00:00 2001 From: Zachary Alexander <86435089+zachsplat@users.noreply.github.com> Date: Tue, 3 Nov 2026 21:02:54 -0600 Subject: [PATCH] ci: run the native Linux, OpenHarmony and ClangTidy jobs on ubuntu-24.04 (#398) ubuntu-latest is moving to Ubuntu 26.04, and three native jobs fail there for reasons outside the engine change under test: GCC 15 no longer pulls and into EventBus.h/.cpp, 7-Zip 26 refuses the OH SDK archive's relative symlinks, and python3.8 from the deadsnakes PPA has no candidate for the runner's amd64v3 apt index. Run those three jobs on ubuntu-24.04, where all three passed on 2026-10-28. The Android, Windows, macOS and iOS jobs are unchanged. --- .github/workflows/native-compile-linux.yml | 2 +- .github/workflows/native-compile-platforms.yml | 2 +- .github/workflows/native-linter-android.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/native-compile-linux.yml b/.github/workflows/native-compile-linux.yml index 3970f7aa78..85fe742800 100644 --- a/.github/workflows/native-compile-linux.yml +++ b/.github/workflows/native-compile-linux.yml @@ -17,7 +17,7 @@ jobs: name: "Linux-Ubuntu" if: (! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration')) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Download external libraries diff --git a/.github/workflows/native-compile-platforms.yml b/.github/workflows/native-compile-platforms.yml index e4174bb888..0243576fb8 100644 --- a/.github/workflows/native-compile-platforms.yml +++ b/.github/workflows/native-compile-platforms.yml @@ -255,7 +255,7 @@ jobs: name: "Openharmony" if: (! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration')) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/native-linter-android.yml b/.github/workflows/native-linter-android.yml index 68030203d6..dae799dab9 100644 --- a/.github/workflows/native-linter-android.yml +++ b/.github/workflows/native-linter-android.yml @@ -20,7 +20,7 @@ jobs: # Set the type of machine to run on if: (! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration')) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Checks out a copy of your repository on the ubuntu-latest machine