Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Build Nuttx port #1794

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/build_ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Loading