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

cederom pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new e75ac114c1 CI: Disable all jobs for macOS and Windows
e75ac114c1 is described below

commit e75ac114c121b2194aeabe4f1a5bdefdafd847b4
Author: Lup Yuen Lee <lu...@appkaki.com>
AuthorDate: Thu Oct 17 14:33:44 2024 +0800

    CI: Disable all jobs for macOS and Windows
    
    This PR disables all CI Jobs for macOS and Windows, to reduce GitHub Cost. 
Details here: https://github.com/apache/nuttx/issues/14376
---
 .github/workflows/arch.yml  | 7 +++++++
 .github/workflows/build.yml | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml
index 966765eefa..fafb33c8a4 100644
--- a/.github/workflows/arch.yml
+++ b/.github/workflows/arch.yml
@@ -97,6 +97,13 @@ jobs:
         id: select-builds
         run: |
 
+          # Skip all macOS and Windows Builds
+          if [[ "${{ inputs.os }}" != "Linux" ]]; then
+            echo "Skipping all macOS and Windows Builds"
+            echo "skip_all_builds=1" | tee -a $GITHUB_OUTPUT
+            exit
+          fi
+
           # Fetch the outputs from the previous step
           numlabels=${{ steps.get-arch.outputs.numlabels }}
           labels_contain_size=${{ steps.get-arch.outputs.labels_contain_size }}
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index de802ef83f..562d3dbded 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -200,7 +200,7 @@ jobs:
     uses: apache/nuttx/.github/workflows/arch.yml@master
     needs: Fetch-Source
     with:
-      os: Linux
+      os: macOS
       boards: |
         ["macos", "sim-01", "sim-02"]
 
@@ -260,7 +260,7 @@ jobs:
     uses: apache/nuttx/.github/workflows/arch.yml@master
     needs: Fetch-Source
     with:
-      os: Linux
+      os: msys2
       boards: |
         ["msys2"]
 

Reply via email to