This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new cc101575 ci: Build Nuttx port
cc101575 is described below
commit cc1015756ba20ab0cb26c7fafdb2437aa2f92dbf
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Tue Jun 11 17:52:55 2024 +0200
ci: Build Nuttx port
Adds a step to the CI workflow for checking the build of Nuttx master
branch.
---
.github/workflows/build_ports.yml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_ports.yml
b/.github/workflows/build_ports.yml
index 8c49d1f5..fc508aa3 100644
--- a/.github/workflows/build_ports.yml
+++ b/.github/workflows/build_ports.yml
@@ -34,7 +34,7 @@ jobs:
shell: bash
run: |
sudo apt-get update
- sudo apt-get install -y make ccache gcc-multilib g++-multilib
+ sudo apt-get install -y make ccache gcc-multilib g++-multilib
kconfig-frontends
- name: Build example ports
shell: bash
run: |
@@ -52,3 +52,14 @@ jobs:
sed -i 's|PKG_URL.*|PKG_URL = '$(pwd)'|' RIOT/pkg/nimble/Makefile
sed -i 's|PKG_VERSION.*|PKG_VERSION = '${{ github.sha }}'|'
RIOT/pkg/nimble/Makefile
make -C RIOT/examples/nimble_gatt
+ - name: Build Nuttx port
+ shell: bash
+ if: success() || failure()
+ continue-on-error: true
+ run: |
+ mkdir nuttx-build
+ git clone --depth=1 https://github.com/apache/nuttx.git
nuttx-build/nuttx
+ git clone --depth=1 https://github.com/apache/nuttx-apps
nuttx-build/apps
+ ./nuttx-build/nuttx/tools/configure.sh -l nrf52840-dk:sdc_nimble
+ sed -i 's|CONFIG_NIMBLE_REF :=.*|CONFIG_NIMBLE_REF := ${{
github.sha }}|' nuttx-build/apps/wireless/bluetooth/nimble/Makefile
+ make -C nuttx-build/nuttx