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
  • Loading branch information
lupyuen authored and xiaoxiang781216 committed Oct 17, 2024
1 parent 697e3be commit 4b8375e
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 @@ -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"]
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
uses: apache/nuttx-apps/.github/workflows/arch.yml@master
needs: Fetch-Source
with:
os: Linux
os: msys2
boards: |
["msys2"]
Expand Down

0 comments on commit 4b8375e

Please sign in to comment.