@@ -2,7 +2,7 @@ name: Compile Check
22on : [pull_request]
33
44jobs :
5- build- greentea-with-cmake :
5+ greentea-tests :
66 runs-on : ubuntu-latest
77 container : ghcr.io/armmbed/mbed-os-env:master-latest
88
@@ -18,119 +18,119 @@ jobs:
1818
1919 # NXP MCUs
2020 - target : LPC1768
21- baremetal : 0
21+ profile : full
2222 - target : LPC546XX
23- baremetal : 0
23+ profile : full
2424 - target : MIMXRT1060_EVK
25- baremetal : 0
25+ profile : full
2626 - target : MIMXRT1170_EVK
27- baremetal : 0
27+ profile : full
2828
2929 # Freescale MCUs
3030 - target : K64F
31- baremetal : 0
31+ profile : full
3232 - target : KL43Z
33- baremetal : 0
33+ profile : full
3434 - target : KW41Z
35- baremetal : 0
35+ profile : full
3636
3737 # STM32 MCUs
3838 - target : NUCLEO_F091RC
39- baremetal : 0
39+ profile : full
4040 - target : NUCLEO_F103RB
41- baremetal : 1
41+ profile : baremetal
4242 - target : NUCLEO_F207ZG
43- baremetal : 0
43+ profile : full
4444 - target : NUCLEO_F303RE
45- baremetal : 0
45+ profile : full
4646 - target : NUCLEO_F429ZI
47- baremetal : 0
47+ profile : full
4848 - target : NUCLEO_F767ZI
49- baremetal : 0
49+ profile : full
5050 - target : NUCLEO_G031K8
51- baremetal : 1
51+ profile : baremetal
5252 - target : NUCLEO_G431RB
53- baremetal : 0
53+ profile : full
5454 - target : NUCLEO_H563ZI
55- baremetal : 0
55+ profile : full
5656 - target : NUCLEO_H745ZI_Q_CM7
57- baremetal : 0
57+ profile : full
5858 - target : DISCO_L072CZ_LRWAN1
59- baremetal : 1
59+ profile : baremetal
6060 - target : XDOT_L151CC
61- baremetal : 0
61+ profile : full
6262 - target : DISCO_L4R9I
63- baremetal : 0
63+ profile : full
6464 - target : DISCO_L562QE
65- baremetal : 0
65+ profile : full
6666 - target : B_U585I_IOT02A
67- baremetal : 0
67+ profile : full
6868 - target : NUCLEO_WB55RG
69- baremetal : 0
69+ profile : full
7070 - target : NUCLEO_WL55JC
71- baremetal : 0
71+ profile : full
7272
7373 # Maxim MCUs
7474 - target : MAX32625MBED
75- baremetal : 0
75+ profile : full
7676 - target : XDOT_MAX32670
77- baremetal : 0
77+ profile : full
7878
7979 # Nuvoton MCUs
8080 - target : NUMAKER_PFM_NANO130
81- baremetal : 1
81+ profile : baremetal
8282 - target : NUMAKER_PFM_M487
83- baremetal : 0
83+ profile : full
8484 - target : NU_M2354
85- baremetal : 0
85+ profile : full
8686
8787 # Samsung MCUs
8888 - target : S1SBP6A
89- baremetal : 0
89+ profile : full
9090
9191 # nRF MCUs
9292 - target : NRF52840_DK
93- baremetal : 0
93+ profile : full
9494 - target : ARDUINO_NICLA_SENSE_ME
95- baremetal : 0
95+ profile : full
9696
9797 # Toshiba MCUs
9898 - target : TMPM4NR
99- baremetal : 0
99+ profile : full
100100
101101 # Renesas MCUs
102102 - target : GR_MANGO
103- baremetal : 0
103+ profile : full
104104 - target : RZ_A1H
105- baremetal : 0
105+ profile : full
106106
107107 # Ambiq MCUs
108108 - target : SFE_ARTEMIS_DK
109- baremetal : 0
109+ profile : full
110110
111111 # Infineon/Cypress MCUs
112112 - target : CY8CKIT_062S2_43012
113- baremetal : 0
113+ profile : full
114114 - target : CYTFM_064B0S2_4343W
115- baremetal : 0
115+ profile : full
116116
117117 # Analog Devices MCUs
118118 - target : EV_COG_AD4050LZ
119- baremetal : 0
119+ profile : full
120120
121121 # GigaDevices MCUs
122122 - target : GD32_F307VG
123- baremetal : 0
123+ profile : full
124124 - target : GD32_F450ZI
125- baremetal : 0
125+ profile : full
126126
127127 # SiLabs MCUs
128128 - target : EFM32GG11_STK3701
129- baremetal : 0
129+ profile : full
130130
131131 # Raspberry Pi MCUs
132132 - target : RASPBERRY_PI_PICO
133- baremetal : 0
133+ profile : full
134134
135135 steps :
136136 - name : Checkout
@@ -142,14 +142,14 @@ jobs:
142142 apt-get install -y python3-venv
143143
144144 - name : Build ${{ matrix.target }} with baremetal profile
145- if : ${{ matrix.baremetal == 1 }}
145+ if : ${{ matrix.profile == 'baremetal' }}
146146 run : |
147147 rm -rf __build
148148 cmake -S . -B __build -GNinja -DUPLOAD_METHOD=NONE -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_TEST_BAREMETAL=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.target }} -DMBED_APP_JSON_PATH=TESTS/configs/baremetal.json
149149 cmake --build __build
150150
151151 - name : Build ${{ matrix.target }} with full profile
152- if : ${{ matrix.baremetal == 0 }}
152+ if : ${{ matrix.profile == 'full' }}
153153 run : |
154154 rm -rf __build
155155 cmake -S . -B __build -GNinja -DUPLOAD_METHOD=NONE -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.target }}
0 commit comments