File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : test building greentea tests with cmake
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ build-greentea-cmake :
7
+ runs-on : ubuntu-latest
8
+ container : ghcr.io/armmbed/mbed-os-env:master-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+
13
+ - name : Install the latest mbed-tools
14
+ run : |
15
+ pip3 install --upgrade mbed-tools
16
+ mbedtools --version
17
+
18
+ - name : Build NUCLEO_G031K8 with baremetal profile
19
+ run : |
20
+ rm -rf __build
21
+ mbedtools configure -t GCC_ARM -m NUCLEO_G031K8 --mbed-os-path . --output-dir __build --app-config TESTS/configs/baremetal.json
22
+ cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DBUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_TEST_BAREMETAL=ON
23
+ cmake --build __build
24
+
25
+ - name : Build ARM_MUSCA_S1 with full profile
26
+ run : |
27
+ rm -rf __build
28
+ mbedtools configure -t GCC_ARM -m ARM_MUSCA_S1 --mbed-os-path . --output-dir __build
29
+ cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DBUILD_GREENTEA_TESTS=ON
30
+ cmake --build __build
You can’t perform that action at this time.
0 commit comments