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: apache/nuttx#14376
lupyuen committed Oct 17, 2024
1 parent c5c18a2 commit 4281a51
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
@@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -195,7 +195,7 @@ jobs:
uses: apache/nuttx-apps/.github/workflows/arch.yml@master
needs: Fetch-Source
with:
os: Linux
os: macOS
boards: |
["macos", "sim-01", "sim-02"]
@@ -255,7 +255,7 @@ jobs:
uses: apache/nuttx-apps/.github/workflows/arch.yml@master
needs: Fetch-Source
with:
os: Linux
os: msys2
boards: |
["msys2"]

0 comments on commit 4281a51

Please sign in to comment.