Skip to content

Commit

Permalink
build.yml: Workflow aligned with nuttx repo
Browse files Browse the repository at this point in the history
build.yml: Limit the GitHub Runners

see apache/nuttx#13412
  • Loading branch information
simbit18 authored and xiaoxiang781216 committed Sep 23, 2024
1 parent ac11e3c commit 27c1720
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,13 @@ jobs:
DOCKER_BUILDKIT: 1

strategy:
max-parallel: 12
matrix:
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, other, risc-v-01, risc-v-02, sim-01, sim-02, xtensa-01, xtensa-02]
boards: [
arm-01, other, risc-v-01, sim-01, xtensa-01,
arm-02, risc-v-02, sim-02, xtensa-02,
arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13
]

steps:
- name: Download Source Artifact
Expand Down Expand Up @@ -173,6 +178,7 @@ jobs:
runs-on: macos-13
needs: Fetch-Source
strategy:
max-parallel: 2
matrix:
boards: [macos, sim-01, sim-02]
steps:
Expand Down Expand Up @@ -220,6 +226,7 @@ jobs:
runs-on: windows-latest
strategy:
fail-fast: false
max-parallel: 1
matrix:
boards: [msys2]

Expand Down Expand Up @@ -276,7 +283,7 @@ jobs:
git config --global --add safe.directory /github/workspace/sources/nuttx
git config --global --add safe.directory /github/workspace/sources/apps
cd sources/nuttx/tools/ci
./cibuild.sh -g -i -A -C -R testlist/${{matrix.boards}}.dat
./cibuild.sh -g -i -A -C -N -R -S testlist/${{matrix.boards}}.dat
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 27c1720

Please sign in to comment.