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
This commit is contained in:
Lup Yuen Lee 2024-10-17 14:33:44 +08:00 committed by CeDeROM
parent 24cb8c25ab
commit e75ac114c1
2 changed files with 9 additions and 2 deletions

View File

@ -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 }}

View File

@ -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"]