This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit c7ad3c5eb20c591abafdbd4ad39b05ed99ad772b
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Oct 14 00:51:45 2026 +0200

    ci: Remove single entry matrices and unused steps
    
    Several workflows use build matrix with only ubuntu-latest OS. This
    results in conditions on Ubuntu that are always true. Remove those
    matrices and conditions to make workflows easier to read and
    maintain.
    
    Note that this changes names of affected checks as OS is no longer
    appended to job name.
    
    Assisted-by: Claude:claude-opus-5-5
---
 .github/workflows/build_all_apps.yml  | 8 +-------
 .github/workflows/build_cc_target.yml | 3 +--
 .github/workflows/newt_test_all.yml   | 7 +------
 3 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/build_all_apps.yml 
b/.github/workflows/build_all_apps.yml
index 4bdfbeaaa..63aa9a15b 100644
--- a/.github/workflows/build_all_apps.yml
+++ b/.github/workflows/build_all_apps.yml
@@ -32,11 +32,7 @@ concurrency:
 jobs:
   targets:
     name: Build all apps
-    strategy:
-      fail-fast: false
-      matrix:
-        os: [ubuntu-latest]
-    runs-on: ${{ matrix.os }}
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
@@ -47,7 +43,6 @@ jobs:
           release: '15.2.Rel1'
       - name: Install Dependencies
         shell: bash
-        if: matrix.os == 'ubuntu-latest'
         run: |
              sudo apt-get update
              sudo apt-get install -y gcc-multilib
@@ -69,7 +64,6 @@ jobs:
              cd ..
       - name: Build applications
         shell: bash
-        if: matrix.os == 'ubuntu-latest'
         run: |
              cd build
              bash ../.github/test_build_apps.sh
diff --git a/.github/workflows/build_cc_target.yml 
b/.github/workflows/build_cc_target.yml
index e45c759be..07b55b2f0 100644
--- a/.github/workflows/build_cc_target.yml
+++ b/.github/workflows/build_cc_target.yml
@@ -35,9 +35,8 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [ubuntu-latest]
         gcc: ['15.2.Rel1', '14.2.Rel1', '13.2.Rel1', '12.2.Rel1', '11.3.Rel1', 
'10.3-2021.10', '9-2020-q2', '8-2019-q3']
-    runs-on: ${{ matrix.os }}
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
diff --git a/.github/workflows/newt_test_all.yml 
b/.github/workflows/newt_test_all.yml
index 47d5f3c84..b3241673c 100644
--- a/.github/workflows/newt_test_all.yml
+++ b/.github/workflows/newt_test_all.yml
@@ -32,18 +32,13 @@ concurrency:
 jobs:
   newt_test:
     name: Run newt test all
-    strategy:
-      fail-fast: false
-      matrix:
-        os: [ubuntu-latest]
-    runs-on: ${{ matrix.os }}
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
         with:
           go-version: 'stable'
       - name: Install Dependencies
-        if: matrix.os == 'ubuntu-latest'
         shell: bash
         run: |
              sudo apt-get update

Reply via email to