Skip to content

Commit 413882e

Browse files
add workflow for checking ble feature selection compilation
1 parent 16d3e99 commit 413882e

File tree

1 file changed

+28
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)