Skip to content

Commit

Permalink
CI fix: Build tests the selected board instead of all boards
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Nov 24, 2023
1 parent c47baf3 commit a6fb1eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ jobs:
for D in ${DIRS}; do
cd ${D}
echo "::group::Building ${D}"
make buildtest BUILDTEST_MAKE_REDIRECT=''
# By running buildtest instead of all, we just skip boards that don't
# satisfy some requirements for some test
make buildtest BUILDTEST_MAKE_REDIRECT='' BOARDS=${{ matrix.board }}
echo "::endgroup::"
if make test/available BOARD=native; then
if make test/available BOARD=native && [ "native" = "${{ matrix.board }}" ]; then
echo "::group::Testing ${D}"
make all test BOARD=native
echo "::endgroup::"
Expand Down

0 comments on commit a6fb1eb

Please sign in to comment.