Skip to content

Commit

Permalink
[#56029] .ci: Fix board name
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Torhan <mtorhan@antmicro.com>
  • Loading branch information
m-torhan committed Mar 4, 2024
1 parent 0c92b29 commit b16baa0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ image: $CI_IMAGE
APP: app
ELF_PREFIX: kenning-zephyr-runtime
BOARDS: >
nrf52840dk_nrf52840
nrf52840dongle_nrf52840
nrf52840dk/nrf52840
nrf52840dongle
stm32f746g_disco
hifive_unleashed
before_script:
Expand All @@ -33,8 +33,9 @@ image: $CI_IMAGE
fi
for BOARD in ${BOARDS}
do
west build -p always -b ${BOARD} ${APP} -- -DEXTRA_CONF_FILE=${RUNTIME_CONF}
cp build/zephyr/zephyr.elf artifacts/${ELF_PREFIX}-${RUNTIME}-${BOARD}.elf
BOARD_NAME="${BOARD//\//_}"
python -m west build -p always -b ${BOARD} ${APP} -- -DEXTRA_CONF_FILE=${RUNTIME_CONF}
cp build/zephyr/zephyr.elf artifacts/${ELF_PREFIX}-${RUNTIME}-${BOARD_NAME}.elf
done
artifacts:
paths:
Expand Down Expand Up @@ -93,9 +94,10 @@ build-repl:
- |
for BOARD in ${BOARDS}
do
west build -p always -b ${BOARD} demo_app || true
west build -t board-repl
cp build/${BOARD}.repl artifacts/
BOARD_NAME="${BOARD//\//_}"
python -m west build -p always -b ${BOARD} demo_app || true
python -m west build -t board-repl
cp build/*.repl artifacts/${BOARD_NAME}.repl
done
artifacts:
paths:
Expand Down Expand Up @@ -125,7 +127,7 @@ unit-tests:
- scripts/prepare_zephyr_env.sh
- source .venv/bin/activate
script:
- west twister -T tests -p unit_testing
- python -m west twister -T tests -p unit_testing
artifacts:
paths:
- twister-out/unit_testing/lib/kenning_inference_lib/**/*.log
Expand Down

0 comments on commit b16baa0

Please sign in to comment.