Skip to content

Commit

Permalink
CI: Use build platform to build all devices
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Aug 12, 2024
1 parent 31a5f72 commit cfc49db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/all_platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ jobs:

- id: matrix
run: |
echo "value=[$(find ./Platforms -maxdepth 3 -wholename "*/Device/*" -printf "\"%f\", ")]" >> $GITHUB_OUTPUT
echo "value=[$(find ./Platforms -maxdepth 1 -type d -exec test -f '{}'/PlatformBuild.py -a -f '{}'/PlatformBuildNoSb.py \; -printf "\"%f\", ")]" >> $GITHUB_OUTPUT
build:
strategy:
matrix:
target: ${{fromJSON(needs.setup.outputs.matrix)}}

needs: setup
uses: woa-msmnile/msmnilePkg/.github/workflows/build_device.yml@main
uses: woa-msmnile/msmnilePkg/.github/workflows/build_platform.yml@main
with:
target: ${{ matrix.target }}
platform: ${{ matrix.target }}
secrets: inherit

package:
Expand Down

0 comments on commit cfc49db

Please sign in to comment.