Skip to content

Commit

Permalink
CI: Replicate a special-casing of RIOT_CI_BUILD
Browse files Browse the repository at this point in the history
(But not enabling RIOT_CI_BUILD b/c we're not inside a Murdock run, and
who knows what else that flag enables.)
  • Loading branch information
chrysn committed Nov 26, 2023
1 parent 0965b3e commit aa5e889
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,17 @@ jobs:
cd ${D}
if BOARDS=${{ matrix.board }} make info-boards-supported | grep -q .
then
BOARD=${{ matrix.board }} make all
# RIOTNOLINK is a workaround for boards with insufficient memory
# showing as supported but still being known not to be buildable.
# Other CI works around by having RIOT_CI_BUILD set RIOTNOLINK if
# the board is known to not have enough memory from
# BOARD_INSUFFICIENT_MEMORY, but that information is not piped out.
#
# Until a better workaround is found, no boards are linked, and if
# a board does exceed its memory due to a Rust change, that will
# only be spotted when the Rust crate is updated in RIOT and a full
# test with the precise criterion is run.
BOARD=${{ matrix.board }} make all RIOTNOLINK=1
if [ "native" = "${{ matrix.board }}" ] && make test/available BOARD=native
then
Expand Down

0 comments on commit aa5e889

Please sign in to comment.