Skip to content

Commit

Permalink
CI: Disable all jobs for macOS and Windows
Browse files Browse the repository at this point in the history
This PR disables all CI Jobs for macOS and Windows, to reduce GitHub Cost. Details here: #14376
  • Loading branch information
lupyuen authored and cederom committed Oct 18, 2024
1 parent 24cb8c2 commit e75ac11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
uses: apache/nuttx/.github/workflows/arch.yml@master
needs: Fetch-Source
with:
os: Linux
os: msys2
boards: |
["msys2"]
Expand Down

0 comments on commit e75ac11

Please sign in to comment.