mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-14 19:03:20 +00:00
group embedded tests
This commit is contained in:
1 parent
9b7d318df5
commit
85d77ec3ac
1 file changed
+143
-68
+143
-68
@@ -528,41 +528,66 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
example:
|
include:
|
||||||
- path: infineon/xmc47_relax-make-baremetal-builtin
|
- group: infineon-nxp
|
||||||
- path: infineon/xmc_plt2go_4400-make-baremetal-builtin
|
examples: |
|
||||||
- path: infineon/xmc72_evk-make-baremetal-builtin
|
infineon/xmc47_relax-make-baremetal-builtin
|
||||||
- path: nxp/frdm-mcxn947-make-baremetal-builtin
|
infineon/xmc_plt2go_4400-make-baremetal-builtin
|
||||||
- path: nxp/frdm-mcxn947-make-freertos-builtin
|
infineon/xmc72_evk-make-baremetal-builtin
|
||||||
- path: nxp/rt1020-evk-make-baremetal-builtin
|
nxp/frdm-mcxn947-make-baremetal-builtin
|
||||||
- path: nxp/rt1060-evk-make-baremetal-builtin
|
nxp/frdm-mcxn947-make-freertos-builtin
|
||||||
- path: nxp/rt1170-evk-make-baremetal-builtin
|
nxp/rt1020-evk-make-baremetal-builtin
|
||||||
- path: rp/pico-w
|
nxp/rt1060-evk-make-baremetal-builtin
|
||||||
- path: rp/w5500-evb-pico
|
nxp/rt1170-evk-make-baremetal-builtin
|
||||||
- path: rp/w55rp20-evb-pico
|
- group: rp-ti
|
||||||
- path: rp/pico-rndis
|
examples: |
|
||||||
- path: stm32/nucleo-f429zi/minimal
|
rp/pico-w
|
||||||
- path: stm32/nucleo-f746zg/minimal
|
rp/w5500-evb-pico
|
||||||
- path: stm32/nucleo-f746zg/minimal-pppoe
|
rp/w55rp20-evb-pico
|
||||||
- path: stm32/nucleo-f756zg/minimal
|
rp/pico-rndis
|
||||||
- path: stm32/nucleo-h563zi/minimal
|
ti/ek-tm4c1294xl-make-baremetal-builtin
|
||||||
- path: stm32/nucleo-h723zg/minimal
|
ti/ek-tm4c1294xl-make-freertos-builtin
|
||||||
- path: stm32/nucleo-h743zi/minimal
|
- group: stm32-1
|
||||||
- path: stm32/nucleo-n657x0-q/minimal
|
examples: |
|
||||||
- path: stm32/nucleo-u5a5zj-q/minimal
|
stm32/nucleo-f429zi/minimal
|
||||||
- path: stm32/portenta-h7/minimal
|
stm32/nucleo-f746zg/minimal
|
||||||
- path: stm32/stm32h573i-dk/minimal
|
stm32/nucleo-f746zg/minimal-pppoe
|
||||||
- path: stm32/stm32h747i-disco/minimal
|
stm32/nucleo-f756zg/minimal
|
||||||
- path: ti/ek-tm4c1294xl-make-baremetal-builtin
|
stm32/nucleo-h563zi/minimal
|
||||||
- path: ti/ek-tm4c1294xl-make-freertos-builtin
|
stm32/nucleo-h723zg/minimal
|
||||||
name: ${{ matrix.example.path }}
|
- group: stm32-2
|
||||||
|
examples: |
|
||||||
|
stm32/nucleo-h743zi/minimal
|
||||||
|
stm32/nucleo-n657x0-q/minimal
|
||||||
|
stm32/nucleo-u5a5zj-q/minimal
|
||||||
|
stm32/portenta-h7/minimal
|
||||||
|
stm32/stm32h573i-dk/minimal
|
||||||
|
stm32/stm32h747i-disco/minimal
|
||||||
|
name: wizard ARM ${{ matrix.group }}
|
||||||
env:
|
env:
|
||||||
GO: 0
|
GO: 0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with: { fetch-depth: 2 }
|
with: { fetch-depth: 2 }
|
||||||
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
||||||
- run: make -C tutorials/${{ matrix.example.path }} build
|
- run: |
|
||||||
|
failed=0
|
||||||
|
sep=
|
||||||
|
examples='${{ matrix.examples }}'
|
||||||
|
for x in $examples; do
|
||||||
|
echo "========== $x =========="
|
||||||
|
if make -C "tutorials/$x" build; then
|
||||||
|
ok=true
|
||||||
|
echo "SUCCESS: $x"
|
||||||
|
else
|
||||||
|
ok=false
|
||||||
|
failed=1
|
||||||
|
echo "FAILURE: $x"
|
||||||
|
fi
|
||||||
|
printf 'HEALTH_DASHBOARD\t%s"%s": %s\n' "$sep" "$x" "$ok"
|
||||||
|
sep=,
|
||||||
|
done
|
||||||
|
exit $failed
|
||||||
|
|
||||||
|
|
||||||
generic_examples:
|
generic_examples:
|
||||||
@@ -588,40 +613,63 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
example:
|
include:
|
||||||
- path: mqtt/mqtt-client/microchip/same54-xpro
|
- group: nxp-1
|
||||||
- path: nxp/nxp-frdmk66f-freertos
|
examples: |
|
||||||
- path: nxp/nxp-lpcxpresso54s018m-freertos
|
nxp/nxp-frdmk66f-freertos
|
||||||
- path: nxp/nxp-mimxrt1020-freertos
|
nxp/nxp-lpcxpresso54s018m-freertos
|
||||||
- path: nxp/nxp-evkbimxrt1050-lwip-freertos
|
nxp/nxp-mimxrt1020-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1020-lwip-freertos
|
nxp/nxp-evkbimxrt1050-lwip-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1024-lwip-freertos
|
nxp/nxp-evkmimxrt1020-lwip-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1060-lwip-freertos
|
nxp/nxp-evkmimxrt1024-lwip-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1064-lwip-freertos
|
nxp/nxp-evkmimxrt1060-lwip-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1160-cm7-lwip-freertos
|
nxp/nxp-evkmimxrt1064-lwip-freertos
|
||||||
- path: nxp/nxp-evkmimxrt1170-cm7-lwip-freertos
|
nxp/nxp-evkmimxrt1160-cm7-lwip-freertos
|
||||||
- path: nxp/nxp-frdmk64f-lwip-freertos
|
- group: nxp-2
|
||||||
- path: nxp/nxp-frdmk66f-lwip-freertos
|
examples: |
|
||||||
- path: nxp/nxp-lpcxpresso54018-lwip-freertos
|
nxp/nxp-evkmimxrt1170-cm7-lwip-freertos
|
||||||
- path: nxp/nxp-lpcxpresso54608-lwip-freertos
|
nxp/nxp-frdmk64f-lwip-freertos
|
||||||
- path: nxp/nxp-lpcxpresso54618-lwip-freertos
|
nxp/nxp-frdmk66f-lwip-freertos
|
||||||
- path: nxp/nxp-lpcxpresso54628-lwip-freertos
|
nxp/nxp-lpcxpresso54018-lwip-freertos
|
||||||
- path: nxp/nxp-twrk65f180m-lwip-freertos
|
nxp/nxp-lpcxpresso54608-lwip-freertos
|
||||||
- path: nxp/nxp-twrkv58f220m-lwip-freertos
|
nxp/nxp-lpcxpresso54618-lwip-freertos
|
||||||
- path: rp/pico-rmii
|
nxp/nxp-lpcxpresso54628-lwip-freertos
|
||||||
- path: stm32/nucleo-f746zg/minimal-rm2
|
nxp/nxp-twrk65f180m-lwip-freertos
|
||||||
- path: stm32/nucleo-f746zg/minimal-rndis
|
nxp/nxp-twrkv58f220m-lwip-freertos
|
||||||
- path: stm32/nucleo-f429zi/minimal-rm2
|
- group: other
|
||||||
- path: stm32/nucleo-f429zi/minimal-rndis
|
examples: |
|
||||||
- path: stm32/nucleo-g031k8/minimal-w5500
|
mqtt/mqtt-client/microchip/same54-xpro
|
||||||
- path: ti/ti-ek-tm4c1294xl-http-server
|
rp/pico-rmii
|
||||||
- path: ti/ek-tm4c1294xl-make-baremetal-builtin-rndis
|
stm32/nucleo-f746zg/minimal-rm2
|
||||||
name: ${{ matrix.example.path }}
|
stm32/nucleo-f746zg/minimal-rndis
|
||||||
|
stm32/nucleo-f429zi/minimal-rm2
|
||||||
|
stm32/nucleo-f429zi/minimal-rndis
|
||||||
|
stm32/nucleo-g031k8/minimal-w5500
|
||||||
|
ti/ti-ek-tm4c1294xl-http-server
|
||||||
|
ti/ek-tm4c1294xl-make-baremetal-builtin-rndis
|
||||||
|
name: generic ARM ${{ matrix.group }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with: { fetch-depth: 2 }
|
with: { fetch-depth: 2 }
|
||||||
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
||||||
- run: make -C tutorials/${{ matrix.example.path }} build
|
- run: |
|
||||||
|
failed=0
|
||||||
|
sep=
|
||||||
|
examples='${{ matrix.examples }}'
|
||||||
|
for x in $examples; do
|
||||||
|
echo "========== $x =========="
|
||||||
|
if make -C "tutorials/$x" build; then
|
||||||
|
ok=true
|
||||||
|
echo "SUCCESS: $x"
|
||||||
|
else
|
||||||
|
ok=false
|
||||||
|
failed=1
|
||||||
|
echo "FAILURE: $x"
|
||||||
|
fi
|
||||||
|
printf 'HEALTH_DASHBOARD\t%s"%s": %s\n' "$sep" "$x" "$ok"
|
||||||
|
sep=,
|
||||||
|
done
|
||||||
|
exit $failed
|
||||||
|
|
||||||
device_dashboard_examples:
|
device_dashboard_examples:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -643,19 +691,46 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
ssl: ["", -DMG_TLS=MG_TLS_BUILTIN]
|
include:
|
||||||
example:
|
- group: none
|
||||||
- path: http/device-dashboard/microchip/same54-xpro
|
cflags: ""
|
||||||
- path: nxp/rt1020-evk-make-freertos-builtin
|
examples: |
|
||||||
- path: nxp/rt1060-evk-make-freertos-builtin
|
http/device-dashboard/microchip/same54-xpro
|
||||||
- path: nxp/rt1170-evk-make-freertos-builtin
|
nxp/rt1020-evk-make-freertos-builtin
|
||||||
- path: renesas/ek-ra6m4-make-baremetal-builtin
|
nxp/rt1060-evk-make-freertos-builtin
|
||||||
name: ${{ matrix.example.path }} ${{ matrix.ssl }}
|
nxp/rt1170-evk-make-freertos-builtin
|
||||||
|
renesas/ek-ra6m4-make-baremetal-builtin
|
||||||
|
- group: builtin
|
||||||
|
cflags: -DMG_TLS=MG_TLS_BUILTIN
|
||||||
|
examples: |
|
||||||
|
http/device-dashboard/microchip/same54-xpro
|
||||||
|
nxp/rt1020-evk-make-freertos-builtin
|
||||||
|
nxp/rt1060-evk-make-freertos-builtin
|
||||||
|
nxp/rt1170-evk-make-freertos-builtin
|
||||||
|
renesas/ek-ra6m4-make-baremetal-builtin
|
||||||
|
name: device dashboard ARM ${{ matrix.group }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with: { fetch-depth: 2 }
|
with: { fetch-depth: 2 }
|
||||||
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
- run: sudo apt -y update && sudo apt -y install gcc-arm-none-eabi
|
||||||
- run: make -C tutorials/${{ matrix.example.path }} build CFLAGS_EXTRA="${{ matrix.ssl }}"
|
- run: |
|
||||||
|
failed=0
|
||||||
|
sep=
|
||||||
|
examples='${{ matrix.examples }}'
|
||||||
|
for x in $examples; do
|
||||||
|
echo "========== $x =========="
|
||||||
|
if make -C "tutorials/$x" build CFLAGS_EXTRA="${{ matrix.cflags }}"; then
|
||||||
|
ok=true
|
||||||
|
echo "SUCCESS: $x"
|
||||||
|
else
|
||||||
|
ok=false
|
||||||
|
failed=1
|
||||||
|
echo "FAILURE: $x"
|
||||||
|
fi
|
||||||
|
printf 'HEALTH_DASHBOARD\t%s"%s": %s\n' "$sep" "$x" "$ok"
|
||||||
|
sep=,
|
||||||
|
done
|
||||||
|
exit $failed
|
||||||
|
|
||||||
# mqtt_dashboard_examples:
|
# mqtt_dashboard_examples:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in new issue
Block a user