From fa5fa1a7f1f04f90cae1ee8e622b56ddd5868ed5 Mon Sep 17 00:00:00 2001 From: Guoguo Date: Fri, 27 Nov 2026 00:16:45 -0800 Subject: [PATCH] ci: pin build runners to ubuntu-24.04 ubuntu-latest now resolves to ubuntu-26.04 (GCC 15.2), where MaixCDK's bundled yaml-cpp fails to compile (missing include), so every build on main has failed since 2026-11-10 and docs were not published. Pin the build and release workflows to ubuntu-24.04 until MaixCDK builds with GCC 15. --- .github/workflows/build_maixcam.yml | 2 +- .github/workflows/build_maixcam_dev.yml | 2 +- .github/workflows/build_maixcam_main_pr.yml | 2 +- .github/workflows/release_maixcam.yml | 2 +- .github/workflows/release_other_linux.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_maixcam.yml b/.github/workflows/build_maixcam.yml index 256b60ea..3b2f981c 100755 --- a/.github/workflows/build_maixcam.yml +++ b/.github/workflows/build_maixcam.yml @@ -22,7 +22,7 @@ jobs: # Only run job for specific repository if: github.repository == 'sipeed/MaixPy' # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # GCC 15 on ubuntu-26.04 can not build MaixCDK yet strategy: matrix: python-version: ["3.11"] # MaixCAM use 3.11 diff --git a/.github/workflows/build_maixcam_dev.yml b/.github/workflows/build_maixcam_dev.yml index 6bd3821f..a6a3df1b 100755 --- a/.github/workflows/build_maixcam_dev.yml +++ b/.github/workflows/build_maixcam_dev.yml @@ -22,7 +22,7 @@ jobs: # Only run job for specific repository if: github.repository == 'sipeed/MaixPy' # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # GCC 15 on ubuntu-26.04 can not build MaixCDK yet strategy: matrix: python-version: ["3.11"] # MaixCAM use 3.11 diff --git a/.github/workflows/build_maixcam_main_pr.yml b/.github/workflows/build_maixcam_main_pr.yml index 0dc37fcf..c52a50cc 100755 --- a/.github/workflows/build_maixcam_main_pr.yml +++ b/.github/workflows/build_maixcam_main_pr.yml @@ -22,7 +22,7 @@ jobs: # Only run job for specific repository if: github.repository == 'sipeed/MaixPy' # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # GCC 15 on ubuntu-26.04 can not build MaixCDK yet strategy: matrix: python-version: ["3.11"] # MaixCAM use 3.11 diff --git a/.github/workflows/release_maixcam.yml b/.github/workflows/release_maixcam.yml index 17417d72..5bf526b8 100644 --- a/.github/workflows/release_maixcam.yml +++ b/.github/workflows/release_maixcam.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python-version: ["3.11"] # must use str, not int, or 3.10 will be recognized as 3.1 - os: ["ubuntu-latest"] + os: ["ubuntu-24.04"] # GCC 15 on ubuntu-26.04 can not build MaixCDK yet runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release_other_linux.yml b/.github/workflows/release_other_linux.yml index 08b38c30..7b776d64 100644 --- a/.github/workflows/release_other_linux.yml +++ b/.github/workflows/release_other_linux.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.12", "3.13"] # 3.11 released by release_maixcam - os: ["ubuntu-latest"] + os: ["ubuntu-24.04"] # GCC 15 on ubuntu-26.04 can not build MaixCDK yet runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4