Skip to content

Commit 26889ca

Browse files
authored
Merge pull request #14927 from paul-szczepanek-arm/master
add workflow for checking ble feature selection compilation
2 parents 2bb1539 + dd16aa7 commit 26889ca

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: run conditional BLE feature compilation
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
paths:
6+
- 'connectivity/FEATURE_BLE/**'
7+
jobs:
8+
run-conditional-feature-compilation-test:
9+
name: Conditional BLE features compilation tested
10+
runs-on: ubuntu-latest
11+
container: mbedos/mbed-os-env:latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
path: mbed-os
17+
18+
- name: Build
19+
run: |
20+
git clone https://github.com/ARMmbed/mbed-os-example-ble.git
21+
cd mbed-os-example-ble/BLE_SupportedFeatures
22+
ln -s ../../mbed-os mbed-os
23+
for f in ../resources/test_configs/*; do
24+
echo "Configuration file ${f}: "
25+
echo "-------------------------------------------------------------------------"
26+
cat "${f}"
27+
echo "-------------------------------------------------------------------------"
28+
mbed compile -t GCC_ARM -m NRF52840_DK --app-config "${f}"
29+
done

0 commit comments

Comments
 (0)