From d633e3c812a8bbe6585a4a5d2f04d9c3b343edb5 Mon Sep 17 00:00:00 2001 From: chrysn Date: Fri, 24 Nov 2023 17:46:59 +0100 Subject: [PATCH] CI: Explicitly check for board support ... because the test running clause would not test on its own and fail on missing feature requirements --- .github/workflows/buildtest.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index 7ffe9d99..1c07ac30 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -101,11 +101,10 @@ jobs: echo "Building ${DIRS} on ${{ matrix.board }}" echo "::echo ::on" for D in ${DIRS}; do - cd ${D} 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='' + cd ${D} + BOARDS=${{ matrix.board }} make info-boards-supported | grep -q . || ( cd -; continue ) + BOARD=${{ matrix.board }} make all echo "::endgroup::" if make test/available BOARD=native && [ "native" = "${{ matrix.board }}" ]; then echo "::group::Testing ${D}"