Skip to content

Commit

Permalink
fixed sample overlay for native posix and pipeline build
Browse files Browse the repository at this point in the history
  • Loading branch information
vChavezB committed Apr 13, 2024
1 parent 9025c43 commit bd0329f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
env:
CMAKE_PREFIX_PATH: /opt/toolchains
ZEPHYR_VERSION: 3.6.0
# Board to use with renode
BOARD: nrf52840dk_nrf52840
steps:
- name: Checkout
Expand All @@ -25,20 +26,23 @@ jobs:
west init --mr v$ZEPHYR_VERSION
west update -o=--depth=1 -n
# Sample as DUT for testing with Renode
- name: Build Uptime Sample
working-directory: /tmp/
run: |
west build $GITHUB_WORKSPACE/samples/uptime -b $BOARD --build-dir $GITHUB_WORKSPACE/samples/uptime/build
# BLE Central for testing with Renode
- name: Build Central
working-directory: /tmp/
run: |
west build $GITHUB_WORKSPACE/tests/renode/ble_central -b $BOARD --build-dir $GITHUB_WORKSPACE/tests/renode/ble_central/build
# Posix build for debugging with bluetooth virtual controller
- name: Build Posix
working-directory: /tmp/
run: |
west build $GITHUB_WORKSPACE/samples/uptime -b native_posix_64 --build-dir $GITHUB_WORKSPACE/samples/uptime/build_posix
west build $GITHUB_WORKSPACE/samples/uptime -b native_posix_64 --build-dir $GITHUB_WORKSPACE/samples/uptime/build_posix -- -DOVERLAY_CONFIG=$GITHUB_WORKSPACE/samples/uptime/boards/native_posix_64.conf
- name : Upload Firmware
uses: actions/upload-artifact@v4
Expand Down
3 changes: 1 addition & 2 deletions samples/uptime/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ CONFIG_NEWLIB_LIBC=y
CONFIG_BLE_UTILS=y
CONFIG_BT_ASSERT=n
CONFIG_LOG=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_HCI_ACL_FLOW_CONTROL=n
CONFIG_BT_EXT_ADV=y

0 comments on commit bd0329f

Please sign in to comment.