From b53082d6b8f7bbba4b182a96c9f51f0574dde672 Mon Sep 17 00:00:00 2001 From: Jonatan Antoni Date: Tue, 3 Nov 2026 15:39:48 +0000 Subject: [PATCH 1/2] ci: migrate deprecated GitHub runner images --- .github/workflows/pack.yml | 2 +- .github/workflows/runcpptest.yaml | 12 ++++++++---- .github/workflows/runneontest.yaml | 10 +++------- .github/workflows/runtest.yaml | 10 ++++++---- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 60e0fd09b..8ff7de09c 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -14,7 +14,7 @@ concurrency: jobs: pack: name: Generate pack - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 with: diff --git a/.github/workflows/runcpptest.yaml b/.github/workflows/runcpptest.yaml index 7e25b566f..ff7ba5322 100644 --- a/.github/workflows/runcpptest.yaml +++ b/.github/workflows/runcpptest.yaml @@ -5,10 +5,12 @@ on: branches: [main] paths: - 'dsppp/**' + - '.github/workflows/runcpptest.yaml' push: branches: [main] paths: - 'dsppp/**' + - '.github/workflows/runcpptest.yaml' permissions: actions: read @@ -20,11 +22,12 @@ jobs: max-parallel: 6 fail-fast: false matrix: + os: [ubuntu-24.04, ubuntu-26.04] # GCC currently has too many problems with the C++ API compiler: [AC6, CLANG] core: [M0, M4, M55] dt: [F64_DT,COMPLEX_F32_DT,F32_DT,COMPLEX_F16_DT,F16_DT,COMPLEX_Q31_DT,Q31_DT,COMPLEX_Q15_DT,Q15_DT,Q7_DT] - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -39,8 +42,9 @@ jobs: - name: Install system packages run: | - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt-get install libpython3.9 libtinfo5 + sudo apt-get update + sudo apt-get install --no-install-recommends -y libtinfo6 + echo "LD_LIBRARY_PATH=${pythonLocation}/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV" - name: Activate vcpkg uses: ARM-software/cmsis-actions/vcpkg@v1 @@ -92,7 +96,7 @@ jobs: if: ${{ !cancelled() && (steps.execute.outcome == 'success' || steps.execute.outcome == 'failure') }} uses: actions/upload-artifact@v7 with: - name: test-cpp-report_${{ matrix.compiler }}_${{ matrix.core }}_${{ matrix.dt }} + name: test-cpp-report_${{ matrix.os }}_${{ matrix.compiler }}_${{ matrix.core }}_${{ matrix.dt }} path: dsppp/${{ matrix.compiler }}_results/errors_${{ matrix.core }}.txt if-no-files-found: error diff --git a/.github/workflows/runneontest.yaml b/.github/workflows/runneontest.yaml index 255e6878b..7d58b26ee 100644 --- a/.github/workflows/runneontest.yaml +++ b/.github/workflows/runneontest.yaml @@ -12,7 +12,7 @@ permissions: jobs: CI_test_run: - runs-on: ubuntu-22.04-arm + runs-on: ubuntu-24.04-arm steps: - name: Checkout @@ -25,12 +25,8 @@ jobs: - name: Install system packages run: | - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt-get install libpython3.12 libtinfo5 - sudo apt install build-essential - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 40 --slave /usr/bin/g++ g++ /usr/bin/g++-12 - sudo update-alternatives --set gcc /usr/bin/gcc-12 + sudo apt-get update + sudo apt-get install --no-install-recommends -y build-essential - name: Activate vcpkg diff --git a/.github/workflows/runtest.yaml b/.github/workflows/runtest.yaml index b081a8fd2..a087a3a01 100644 --- a/.github/workflows/runtest.yaml +++ b/.github/workflows/runtest.yaml @@ -15,8 +15,9 @@ jobs: strategy: fail-fast: false matrix: + os: [ubuntu-24.04, ubuntu-26.04] compiler: [AC6, CLANG, GCC] - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -31,8 +32,9 @@ jobs: - name: Install system packages run: | - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt-get install libpython3.12 libtinfo5 + sudo apt-get update + sudo apt-get install --no-install-recommends -y libtinfo6 + echo "LD_LIBRARY_PATH=${pythonLocation}/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV" - name: Activate vcpkg uses: ARM-software/cmsis-actions/vcpkg@v1 @@ -81,7 +83,7 @@ jobs: if: ${{ !cancelled() && (steps.execute.outcome == 'success' || steps.execute.outcome == 'failure') }} uses: actions/upload-artifact@v7 with: - name: test-report_${{ matrix.compiler }} + name: test-report_${{ matrix.os }}_${{ matrix.compiler }} path: | Testing/cmsis_build/summary_${{ matrix.compiler }}.html if-no-files-found: error From a755f7a5c0644466fc67dba44b8db81986950bb4 Mon Sep 17 00:00:00 2001 From: Jonatan Antoni Date: Wed, 4 Nov 2026 09:44:24 +0000 Subject: [PATCH 2/2] ci: run DSP test matrices only on Ubuntu 24.04 --- .github/workflows/runcpptest.yaml | 5 ++--- .github/workflows/runtest.yaml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/runcpptest.yaml b/.github/workflows/runcpptest.yaml index ff7ba5322..6fe147018 100644 --- a/.github/workflows/runcpptest.yaml +++ b/.github/workflows/runcpptest.yaml @@ -22,12 +22,11 @@ jobs: max-parallel: 6 fail-fast: false matrix: - os: [ubuntu-24.04, ubuntu-26.04] # GCC currently has too many problems with the C++ API compiler: [AC6, CLANG] core: [M0, M4, M55] dt: [F64_DT,COMPLEX_F32_DT,F32_DT,COMPLEX_F16_DT,F16_DT,COMPLEX_Q31_DT,Q31_DT,COMPLEX_Q15_DT,Q15_DT,Q7_DT] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-24.04 steps: - name: Checkout @@ -96,7 +95,7 @@ jobs: if: ${{ !cancelled() && (steps.execute.outcome == 'success' || steps.execute.outcome == 'failure') }} uses: actions/upload-artifact@v7 with: - name: test-cpp-report_${{ matrix.os }}_${{ matrix.compiler }}_${{ matrix.core }}_${{ matrix.dt }} + name: test-cpp-report_${{ matrix.compiler }}_${{ matrix.core }}_${{ matrix.dt }} path: dsppp/${{ matrix.compiler }}_results/errors_${{ matrix.core }}.txt if-no-files-found: error diff --git a/.github/workflows/runtest.yaml b/.github/workflows/runtest.yaml index a087a3a01..693889aaf 100644 --- a/.github/workflows/runtest.yaml +++ b/.github/workflows/runtest.yaml @@ -15,9 +15,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-24.04, ubuntu-26.04] compiler: [AC6, CLANG, GCC] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-24.04 steps: - name: Checkout @@ -83,7 +82,7 @@ jobs: if: ${{ !cancelled() && (steps.execute.outcome == 'success' || steps.execute.outcome == 'failure') }} uses: actions/upload-artifact@v7 with: - name: test-report_${{ matrix.os }}_${{ matrix.compiler }} + name: test-report_${{ matrix.compiler }} path: | Testing/cmsis_build/summary_${{ matrix.compiler }}.html if-no-files-found: error