Skip to content
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
29 changes: 29 additions & 0 deletions .github/workflows/run_conditional_ble_feature_compilation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: run conditional BLE feature compilation
on:
workflow_dispatch:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so we can run it on BLE PRs.

pull_request:
paths:
- 'connectivity/FEATURE_BLE/**'
jobs:
run-conditional-feature-compilation-test:
name: Conditional BLE features compilation tested
runs-on: ubuntu-latest
container: mbedos/mbed-os-env:latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: mbed-os

- name: Build
run: |
git clone https://github.com/ARMmbed/mbed-os-example-ble.git
cd mbed-os-example-ble/BLE_SupportedFeatures
ln -s ../../mbed-os mbed-os
for f in ../resources/test_configs/*; do
echo "Configuration file ${f}: "
echo "-------------------------------------------------------------------------"
cat "${f}"
echo "-------------------------------------------------------------------------"
mbed compile -t GCC_ARM -m NRF52840_DK --app-config "${f}"
done