Skip to content

Commit

Permalink
CI: Explicitly check for board support because the test running claus…
Browse files Browse the repository at this point in the history
…e would not test on its own and fail on missing feature requirements
  • Loading branch information
chrysn committed Nov 24, 2023
1 parent 1542220 commit 6b8d417
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ jobs:
echo "::echo ::on"
for D in ${DIRS}; do
cd ${D}
BOARDS=$(( matrix.board }} make info-boards-supported | grep -q . || { cd -; continue }
echo "::group::Building ${D}"
# By running buildtest instead of all, we just skip boards that don't
# satisfy some requirements for some test
BOARDS=${{ matrix.board }} make buildtest BUILDTEST_MAKE_REDIRECT=''
BOARD=${{ matrix.board }} make all
echo "::endgroup::"
if make test/available BOARD=native && [ "native" = "${{ matrix.board }}" ]; then
echo "::group::Testing ${D}"
Expand Down

0 comments on commit 6b8d417

Please sign in to comment.