2023-12-29 01:27:13 +08:00
|
|
|
name: RT-Thread BSP Static Build Check
|
2020-12-04 09:07:29 +08:00
|
|
|
|
|
|
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
2023-11-26 17:29:13 +08:00
|
|
|
# events but only for the RT-Thread organization master branch
|
2020-12-04 09:07:29 +08:00
|
|
|
on:
|
2023-11-26 17:29:13 +08:00
|
|
|
# Runs at 16:00 UTC (BeiJing 00:00) every day
|
2020-12-04 09:07:29 +08:00
|
|
|
schedule:
|
2023-11-26 17:29:13 +08:00
|
|
|
- cron: '0 16 * * *'
|
2020-12-04 09:07:29 +08:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- documentation/**
|
|
|
|
- '**/README.md'
|
2020-12-08 14:32:40 +08:00
|
|
|
- '**/README_zh.md'
|
2020-12-04 09:07:29 +08:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- documentation/**
|
|
|
|
- '**/README.md'
|
2020-12-08 14:32:40 +08:00
|
|
|
- '**/README_zh.md'
|
2024-02-25 05:56:28 +08:00
|
|
|
repository_dispatch:
|
|
|
|
types:
|
|
|
|
- online-pkgs-static-building-trigger-event
|
2023-11-26 00:22:25 +08:00
|
|
|
workflow_dispatch:
|
2020-12-04 09:07:29 +08:00
|
|
|
|
2022-09-29 13:44:28 +08:00
|
|
|
permissions:
|
|
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
|
2020-12-04 09:07:29 +08:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2020-12-10 09:12:55 +08:00
|
|
|
name: ${{ matrix.legs.RTT_BSP }}
|
2022-08-14 12:01:16 +08:00
|
|
|
if: github.repository_owner == 'RT-Thread'
|
2020-12-04 09:07:29 +08:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2020-12-08 14:32:40 +08:00
|
|
|
legs:
|
2023-12-29 01:27:13 +08:00
|
|
|
- RTT_BSP: "RT-Thread Online Packages"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "stm32/stm32f407-rt-spark"
|
|
|
|
- RTT_BSP: "RTduino/Arduino Libraries"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
2024-02-13 21:51:23 +08:00
|
|
|
- "stm32/stm32f412-st-nucleo"
|
|
|
|
- "raspberry-pico"
|
2023-04-07 00:08:59 +08:00
|
|
|
- RTT_BSP: "others_at32_hc32"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
2023-04-07 00:08:59 +08:00
|
|
|
- "qemu-vexpress-a9"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "airm2m/air32f103"
|
|
|
|
- "acm32/acm32f0x0-nucleo"
|
|
|
|
- "CME_M7"
|
|
|
|
- "apollo2"
|
|
|
|
- "asm9260t"
|
|
|
|
- "allwinner_tina"
|
|
|
|
- "ft32/ft32f072xb-starter"
|
|
|
|
- "mini2440"
|
|
|
|
- "at91/at91sam9g45"
|
|
|
|
- "at91/at91sam9260"
|
|
|
|
- "wch/arm/ch32f103c8-core"
|
|
|
|
- "wch/arm/ch32f203r-evt"
|
2023-12-27 18:41:52 +08:00
|
|
|
- "synwit/swm320-mini"
|
|
|
|
- "synwit/swm341-mini"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "beaglebone"
|
|
|
|
- "zynqmp-r5-axu4ev"
|
2023-11-09 16:38:19 +08:00
|
|
|
- "at32/at32f402-start"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "at32/at32f403a-start"
|
2023-11-09 16:38:19 +08:00
|
|
|
- "at32/at32f405-start"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "at32/at32f407-start"
|
|
|
|
- "at32/at32f413-start"
|
|
|
|
- "at32/at32f415-start"
|
|
|
|
- "at32/at32f421-start"
|
2023-04-07 14:26:45 +08:00
|
|
|
- "at32/at32f423-start"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "at32/at32f425-start"
|
|
|
|
- "at32/at32f435-start"
|
|
|
|
- "at32/at32f437-start"
|
2023-05-23 16:07:16 +08:00
|
|
|
- "yichip/yc3122-pos"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "hc32/ev_hc32f4a0_lqfp176"
|
2024-02-23 01:34:35 +08:00
|
|
|
- "hc32/ev_hc32f448_lqfp80"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "hc32/ev_hc32f460_lqfp100_v2"
|
|
|
|
- "hc32l196"
|
2023-05-12 12:03:26 +08:00
|
|
|
- "mm32/mm32f3270-100ask-pitaya"
|
2023-10-15 20:33:20 +08:00
|
|
|
- "mm32f327x"
|
2023-07-05 18:22:45 +08:00
|
|
|
- "sam7x"
|
2023-05-19 10:10:46 +08:00
|
|
|
- "hk32/hk32f030c8-mini"
|
2023-07-05 18:22:45 +08:00
|
|
|
- "acm32/acm32f0x0-nucleo"
|
|
|
|
- "acm32/acm32f4xx-nucleo"
|
2023-10-08 13:28:17 +08:00
|
|
|
- "rm48x50"
|
2023-04-07 00:08:59 +08:00
|
|
|
- RTT_BSP: "stm32l4_f0_f1"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "stm32/stm32l4r5-st-nucleo"
|
|
|
|
- "stm32/stm32l4r9-st-eval"
|
|
|
|
- "stm32/stm32l4r9-st-sensortile-box"
|
|
|
|
- "stm32/stm32l010-st-nucleo"
|
|
|
|
- "stm32/stm32l053-st-nucleo"
|
|
|
|
- "stm32/stm32l412-st-nucleo"
|
|
|
|
- "stm32/stm32l431-BearPi"
|
2024-03-16 10:19:14 +08:00
|
|
|
- "stm32/stm32l431-tencentos-tiny-EVB_MX+"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32l432-st-nucleo"
|
|
|
|
- "stm32/stm32l433-ali-startkit"
|
|
|
|
- "stm32/stm32l433-st-nucleo"
|
|
|
|
- "stm32/stm32l452-st-nucleo"
|
|
|
|
- "stm32/stm32l475-atk-pandora"
|
|
|
|
- "stm32/stm32l475-st-discovery"
|
|
|
|
- "stm32/stm32l476-st-nucleo"
|
|
|
|
- "stm32/stm32l496-ali-developer"
|
|
|
|
- "stm32/stm32l496-st-nucleo"
|
2023-05-22 14:56:33 +08:00
|
|
|
- "stm32/stm32l496-st-discovery"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32f072-st-nucleo"
|
|
|
|
- "stm32/stm32f091-st-nucleo"
|
|
|
|
- "stm32/stm32f103-100ask-mini"
|
|
|
|
- "stm32/stm32f103-100ask-pro"
|
|
|
|
- "stm32/stm32f103-atk-nano"
|
|
|
|
- "stm32/stm32f103-atk-warshipv3"
|
|
|
|
- "stm32/stm32f103-blue-pill"
|
|
|
|
- "stm32/stm32f103-dofly-lyc8"
|
|
|
|
- "stm32/stm32f103-dofly-M3S"
|
|
|
|
- "stm32/stm32f103-fire-arbitrary"
|
|
|
|
- "stm32/stm32f103-gizwits-gokitv21"
|
|
|
|
- "stm32/stm32f103-hw100k-ibox"
|
|
|
|
- "stm32/stm32f103-onenet-nbiot"
|
|
|
|
- "stm32/stm32f103-yf-ufun"
|
|
|
|
- "stm32/stm32f103-ys-f1pro"
|
|
|
|
- "stm32/stm32f107-uc-eval"
|
2023-04-07 00:08:59 +08:00
|
|
|
- RTT_BSP: "stm32_f2_f4"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "stm32/stm32f207-st-nucleo"
|
|
|
|
- "stm32/stm32f302-st-nucleo"
|
2023-06-06 09:22:34 +08:00
|
|
|
- "stm32/stm32f334-st-nucleo"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32f401-st-nucleo"
|
|
|
|
- "stm32/stm32f401-weact-blackpill"
|
|
|
|
- "stm32/stm32f405-smdz-breadfruit"
|
|
|
|
- "stm32/stm32f407-armfly-v5"
|
|
|
|
- "stm32/stm32f407-atk-explorer"
|
|
|
|
- "stm32/stm32f407-robomaster-c"
|
|
|
|
- "stm32/stm32f407-st-discovery"
|
|
|
|
- "stm32/stm32f410-st-nucleo"
|
2024-02-13 21:51:23 +08:00
|
|
|
- "stm32/stm32f411-st-nucleo"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32f411-atk-nano"
|
|
|
|
- "stm32/stm32f411-weact-blackpill"
|
|
|
|
- "stm32/stm32f413-st-nucleo"
|
|
|
|
- "stm32/stm32f427-robomaster-a"
|
|
|
|
- "stm32/stm32f429-armfly-v6"
|
|
|
|
- "stm32/stm32f429-atk-apollo"
|
|
|
|
- "stm32/stm32f429-fire-challenger"
|
|
|
|
- "stm32/stm32f429-st-disco"
|
|
|
|
- "stm32/stm32f446-st-nucleo"
|
|
|
|
- "stm32/stm32f469-st-disco"
|
2023-08-29 13:10:14 +08:00
|
|
|
- RTT_BSP: "stm32_f7_g0_h7_mp15_u5_h5_wb5"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "stm32/stm32f746-st-disco"
|
|
|
|
- "stm32/stm32f746-st-nucleo"
|
|
|
|
- "stm32/stm32f767-atk-apollo"
|
|
|
|
- "stm32/stm32f767-fire-challenger-v1"
|
|
|
|
- "stm32/stm32f767-st-nucleo"
|
|
|
|
- "stm32/stm32f769-st-disco"
|
|
|
|
- "stm32/stm32f723-st-disco"
|
|
|
|
- "stm32/stm32g070-st-nucleo"
|
|
|
|
- "stm32/stm32g071-st-nucleo"
|
|
|
|
- "stm32/stm32g431-st-nucleo"
|
2023-12-04 21:33:12 +08:00
|
|
|
- "stm32/stm32g491-st-nucleo"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32g474-st-nucleo"
|
2023-08-29 13:10:14 +08:00
|
|
|
- "stm32/stm32h563-st-nucleo"
|
2023-12-23 22:39:11 +08:00
|
|
|
- "stm32/stm32h503-st-nucleo"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32h743-armfly-v7"
|
|
|
|
- "stm32/stm32h743-atk-apollo"
|
|
|
|
- "stm32/stm32h743-openmv-h7plus"
|
|
|
|
- "stm32/stm32h743-st-nucleo"
|
|
|
|
- "stm32/stm32h747-st-discovery"
|
|
|
|
- "stm32/stm32h750-artpi"
|
|
|
|
- "stm32/stm32h750-weact-ministm32h7xx"
|
|
|
|
- "stm32/stm32h750-fk750m1-vbt6"
|
|
|
|
- "stm32/stm32mp157a-st-discovery"
|
|
|
|
- "stm32/stm32mp157a-st-ev1"
|
|
|
|
- "stm32/stm32u575-st-nucleo"
|
2023-07-11 12:39:29 +08:00
|
|
|
- "stm32/stm32u585-iot02a"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "stm32/stm32wb55-st-nucleo"
|
2023-04-07 00:08:59 +08:00
|
|
|
- RTT_BSP: "nxp_renesas"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
2024-03-11 03:11:54 +08:00
|
|
|
- "nxp/lpc/lpc55sxx/lpc55s69_nxp_evk"
|
|
|
|
- "nxp/lpc/lpc55sxx/lpc55s28_nxp_evk"
|
|
|
|
- "nxp/lpc/lpc55sxx/lpc55s06_nxp_evk"
|
|
|
|
- "nxp/lpc/lpc55sxx/lpc55s16_nxp_evk"
|
|
|
|
- "nxp/lpc/lpc55sxx/lpc55s36_nxp_evk"
|
|
|
|
- "nxp/lpc/lpc178x"
|
|
|
|
- "nxp/lpc/lpc408x"
|
|
|
|
- "nxp/lpc/lpc1114"
|
|
|
|
- "nxp/lpc/lpc2148"
|
|
|
|
- "nxp/lpc/lpc2478"
|
2024-03-11 04:03:36 +08:00
|
|
|
# - "nxp/lpc/lpc5410x"
|
|
|
|
# - "nxp/lpc/lpc54114-lite"
|
2024-03-11 03:11:54 +08:00
|
|
|
- "nxp/lpc/lpc176x"
|
|
|
|
#- "nxp/lpc/lpc43xx/M4"
|
2024-03-11 03:39:16 +08:00
|
|
|
- "nxp/imx/imx6sx/cortex-a9"
|
|
|
|
- "nxp/imx/imxrt/imxrt1052-atk-commander"
|
|
|
|
- "nxp/imx/imxrt/imxrt1052-fire-pro"
|
|
|
|
- "nxp/imx/imxrt/imxrt1052-nxp-evk"
|
|
|
|
- "nxp/imx/imxrt/imxrt1052-seeed-ArchMix"
|
|
|
|
- "nxp/imx/imxrt/imxrt1060-nxp-evk"
|
|
|
|
- "nxp/imx/imxrt/imxrt1064-nxp-evk"
|
|
|
|
- "nxp/imx/imxrt/imxrt1021-nxp-evk"
|
2024-03-11 02:37:37 +08:00
|
|
|
- "nxp/mcx/mcxn/frdm-mcxn947"
|
|
|
|
- "nxp/mcx/mcxa/frdm-mcxa153"
|
2023-07-25 14:55:11 +08:00
|
|
|
- "renesas/ebf_qi_min_6m5"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "renesas/ra6m4-cpk"
|
2023-07-25 14:55:11 +08:00
|
|
|
- "renesas/ra6m4-iot"
|
|
|
|
- "renesas/ra6m3-ek"
|
2023-07-05 18:21:43 +08:00
|
|
|
- "renesas/ra6m3-hmi-board"
|
|
|
|
- "renesas/ra4m2-eco"
|
|
|
|
- "renesas/ra2l1-cpk"
|
2023-10-17 17:20:54 +08:00
|
|
|
- "renesas/ra8m1-ek"
|
2023-12-17 21:19:16 +08:00
|
|
|
- "renesas/ra8d1-ek"
|
2024-03-05 13:51:03 +08:00
|
|
|
- "renesas/ra8d1-vision-board"
|
2024-03-11 03:39:16 +08:00
|
|
|
- "frdm-k64f"
|
|
|
|
- "xplorer4330/M4"
|
2023-04-07 00:08:59 +08:00
|
|
|
- RTT_BSP: "gd32_n32_apm32"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "gd32/arm/gd32103c-eval"
|
|
|
|
- "gd32/arm/gd32105c-eval"
|
|
|
|
- "gd32/arm/gd32105r-start"
|
|
|
|
- "gd32/arm/gd32107c-eval"
|
|
|
|
- "gd32/arm/gd32205r-start"
|
|
|
|
- "gd32/arm/gd32207i-eval"
|
|
|
|
- "gd32/arm/gd32303e-eval"
|
|
|
|
- "gd32/arm/gd32303c-start"
|
|
|
|
- "gd32/arm/gd32305r-start"
|
|
|
|
- "gd32/arm/gd32307e-start"
|
|
|
|
- "gd32/arm/gd32407v-start"
|
2024-01-21 01:13:30 +08:00
|
|
|
- "gd32/arm/gd32407v-lckfb"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "gd32/arm/gd32450z-eval"
|
|
|
|
- "gd32/arm/gd32470z-lckfb"
|
|
|
|
- "n32/n32g43xcl-stb"
|
|
|
|
- "n32/n32g45xcl-stb"
|
|
|
|
- "n32/n32g45xml-stb"
|
|
|
|
- "n32/n32g45xrl-stb"
|
|
|
|
- "n32/n32g45xvl-stb"
|
|
|
|
- "n32/n32g457qel-stb"
|
|
|
|
- "n32/n32g4frml-stb"
|
|
|
|
- "n32/n32l40xcl-stb"
|
|
|
|
- "n32/n32l43xml-stb"
|
|
|
|
- "n32/n32l43xrl-stb"
|
|
|
|
- "n32/n32l436-evb"
|
|
|
|
- "n32/n32wb45xl-evb"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "apm32/apm32f103xe-minibroard"
|
|
|
|
- "apm32/apm32f407ig-minibroard"
|
|
|
|
- "apm32/apm32f407zg-evalboard"
|
|
|
|
- "apm32/apm32f072vb-miniboard"
|
|
|
|
- "apm32/apm32f107vc-evalboard"
|
|
|
|
- "apm32/apm32f030r8-miniboard"
|
|
|
|
- "apm32/apm32f051r8-evalboard"
|
|
|
|
- "apm32/apm32f091vc-miniboard"
|
|
|
|
- "apm32/apm32f103vb-miniboard"
|
|
|
|
- "apm32/apm32e103ze-evalboard"
|
|
|
|
- "apm32/apm32e103ze-tinyboard"
|
|
|
|
- "apm32/apm32s103vb-miniboard"
|
|
|
|
- RTT_BSP: "nordic_Infineon_TI_microchip"
|
2023-04-01 19:04:27 +08:00
|
|
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "nrf5x/nrf51822"
|
|
|
|
- "nrf5x/nrf52832"
|
|
|
|
- "nrf5x/nrf52833"
|
|
|
|
- "nrf5x/nrf52840"
|
|
|
|
- "nrf5x/nrf5340"
|
|
|
|
- "Infineon/psoc6-cy8ckit-062S2-43012"
|
|
|
|
- "Infineon/psoc6-cy8ckit-062-BLE"
|
|
|
|
- "Infineon/psoc6-cy8ckit-062s4"
|
|
|
|
- "Infineon/psoc6-cy8ckit-062-WIFI-BT"
|
|
|
|
- "Infineon/psoc6-cy8cproto-062S3-4343W"
|
|
|
|
- "Infineon/psoc6-evaluationkit-062S2"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "fujitsu/mb9x/mb9bf500r"
|
|
|
|
- "fujitsu/mb9x/mb9bf506r"
|
|
|
|
- "fujitsu/mb9x/mb9bf618s"
|
|
|
|
- "fujitsu/mb9x/mb9bf568r"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "raspberry-pi/raspi3-32"
|
|
|
|
- "raspberry-pi/raspi4-32"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "lm3s8962"
|
|
|
|
- "lm3s9b9x"
|
|
|
|
- "lm4f232"
|
|
|
|
- "tm4c123bsp"
|
|
|
|
- "tm4c129x"
|
2023-07-16 21:26:45 +08:00
|
|
|
- "msp432e401y-LaunchPad"
|
2023-04-01 19:04:27 +08:00
|
|
|
- "microchip/samc21"
|
|
|
|
- "microchip/same54"
|
|
|
|
- "microchip/same70"
|
2023-04-07 00:08:59 +08:00
|
|
|
- "smartfusion2"
|
2023-05-19 10:10:46 +08:00
|
|
|
- "maxim/max32660-evsys"
|
2023-04-01 19:04:27 +08:00
|
|
|
- RTT_BSP: "mips"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-mips"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "loongson/ls1bdev"
|
|
|
|
- "loongson/ls2kdev"
|
2023-05-12 12:03:26 +08:00
|
|
|
- "loongson/ls1cdev"
|
2023-04-01 19:04:27 +08:00
|
|
|
- RTT_BSP: "aarch64"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-aarch64"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "qemu-virt64-aarch64"
|
|
|
|
- "raspberry-pi/raspi3-64"
|
|
|
|
- "raspberry-pi/raspi4-64"
|
|
|
|
- "rockchip/rk3568"
|
2023-08-02 13:27:09 +08:00
|
|
|
- "phytium/aarch64"
|
2023-04-01 19:04:27 +08:00
|
|
|
- RTT_BSP: "riscv-none"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-riscv-none-embed"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "k210"
|
|
|
|
- RTT_BSP: "riscv64-unknown"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-riscv64-unknown-elf"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "bluetrum/ab32vg1-ab-prougen"
|
|
|
|
- "bouffalo_lab/bl60x"
|
|
|
|
- "bouffalo_lab/bl70x"
|
2023-05-17 22:43:48 +08:00
|
|
|
- RTT_BSP: "llvm-arm"
|
|
|
|
RTT_TOOL_CHAIN: "llvm-arm"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "stm32/stm32l475-atk-pandora"
|
2023-05-25 23:09:34 +08:00
|
|
|
- "renesas/ra6m3-hmi-board"
|
2023-06-14 01:05:56 +08:00
|
|
|
- RTT_BSP: "simulator"
|
|
|
|
RTT_TOOL_CHAIN: "gcc"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "simulator"
|
2023-07-25 13:42:31 +08:00
|
|
|
- RTT_BSP: "ESP32C3"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-riscv32-esp32"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "ESP32_C3"
|
2023-11-06 17:59:57 +08:00
|
|
|
- RTT_BSP: "i386-unknown"
|
|
|
|
RTT_TOOL_CHAIN: "sourcery-i386-unknown-elf"
|
|
|
|
SUB_RTT_BSP:
|
|
|
|
- "x86"
|
2020-12-04 09:07:29 +08:00
|
|
|
steps:
|
2023-12-26 23:42:58 +08:00
|
|
|
- uses: actions/checkout@v4
|
2020-12-04 09:07:29 +08:00
|
|
|
- name: Set up Python
|
2022-04-01 12:05:39 +08:00
|
|
|
uses: actions/setup-python@v3
|
2020-12-04 09:07:29 +08:00
|
|
|
with:
|
|
|
|
python-version: 3.8
|
|
|
|
|
|
|
|
- name: Install Tools
|
2020-12-08 14:32:40 +08:00
|
|
|
shell: bash
|
2020-12-04 09:07:29 +08:00
|
|
|
run: |
|
2020-12-18 08:53:22 +08:00
|
|
|
sudo apt-get update
|
2023-09-09 06:37:49 +08:00
|
|
|
wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh
|
|
|
|
chmod 777 install_ubuntu.sh
|
|
|
|
./install_ubuntu.sh
|
2021-12-28 10:50:10 +08:00
|
|
|
git config --global http.postBuffer 524288000
|
2021-10-25 14:03:08 +08:00
|
|
|
python -c "import tools.menuconfig; tools.menuconfig.touch_env()"
|
2020-12-08 14:32:40 +08:00
|
|
|
echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
|
|
|
|
echo "RTT_CC=gcc" >> $GITHUB_ENV
|
2021-02-18 13:29:12 +08:00
|
|
|
|
2020-12-08 14:32:40 +08:00
|
|
|
- name: Install Arm ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && success() }}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2021-11-14 20:54:41 +08:00
|
|
|
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.3/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
|
2021-06-02 09:14:59 +08:00
|
|
|
sudo tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt
|
|
|
|
/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
|
|
|
|
echo "RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin" >> $GITHUB_ENV
|
2020-12-04 09:07:29 +08:00
|
|
|
|
2023-05-17 22:43:48 +08:00
|
|
|
- name: Install LLVM-Arm ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'llvm-arm' && success() }}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
wget -q https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/download/release-16.0.0/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64.tar.gz
|
|
|
|
sudo tar zxf LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64.tar.gz -C /opt
|
2023-09-09 06:37:49 +08:00
|
|
|
sudo apt-get -qq install libncurses5 libncurses5-dev libncursesw5-dev
|
2023-05-17 22:43:48 +08:00
|
|
|
/opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin/clang --version
|
|
|
|
echo "RTT_CC=llvm-arm" >> $GITHUB_ENV
|
|
|
|
echo "RTT_EXEC_PATH=/opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin" >> $GITHUB_ENV
|
|
|
|
|
2022-01-07 13:49:06 +08:00
|
|
|
- name: Install AArch64 ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-aarch64' && success() }}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.6/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf.tar.xz
|
|
|
|
sudo tar -xf gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf.tar.xz -C /opt
|
|
|
|
/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc --version
|
|
|
|
echo "RTT_EXEC_PATH=/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf/bin" >> $GITHUB_ENV
|
|
|
|
|
2020-12-08 14:32:40 +08:00
|
|
|
- name: Install Mips ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-mips' && success() }}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2021-02-18 13:29:12 +08:00
|
|
|
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.1/mips-2016.05-7-mips-sde-elf-i686-pc-linux-gnu.tar.bz2
|
|
|
|
sudo tar xjf mips-2016.05-7-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 -C /opt
|
2020-12-04 09:07:29 +08:00
|
|
|
/opt/mips-2016.05/bin/mips-sde-elf-gcc --version
|
2020-12-08 14:32:40 +08:00
|
|
|
echo "RTT_EXEC_PATH=/opt/mips-2016.05/bin" >> $GITHUB_ENV
|
2020-12-04 09:07:29 +08:00
|
|
|
|
2021-10-09 13:58:56 +08:00
|
|
|
- name: Install Riscv64-unknown-elf ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-riscv64-unknown-elf' && success() }}
|
|
|
|
run: |
|
2021-11-14 20:54:41 +08:00
|
|
|
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.4/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz
|
2023-05-20 23:41:29 +08:00
|
|
|
sudo tar zxf riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14.tar.gz -C /opt
|
2021-10-09 13:58:56 +08:00
|
|
|
/opt/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin/riscv64-unknown-elf-gcc --version
|
|
|
|
echo "RTT_EXEC_PATH=/opt/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin" >> $GITHUB_ENV
|
|
|
|
|
|
|
|
- name: Install Riscv-none-embed ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-riscv-none-embed' && success() }}
|
|
|
|
run: |
|
2021-11-14 20:54:41 +08:00
|
|
|
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.5/xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-x64.tar.gz
|
2023-05-20 23:41:29 +08:00
|
|
|
sudo tar zxf xpack-riscv-none-embed-gcc-8.3.0-2.3-linux-x64.tar.gz -C /opt
|
2021-10-09 13:58:56 +08:00
|
|
|
/opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin/riscv-none-embed-gcc --version
|
|
|
|
echo "RTT_EXEC_PATH=/opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin" >> $GITHUB_ENV
|
|
|
|
|
2023-07-25 13:42:31 +08:00
|
|
|
- name: Install riscv32-esp-elf ToolChains
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-riscv32-esp32' && success() }}
|
|
|
|
run: |
|
|
|
|
wget -q https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1-RC1/riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz
|
|
|
|
sudo tar xf riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz -C /opt
|
|
|
|
/opt/riscv32-esp-elf/bin/riscv32-esp-elf-gcc --version
|
2023-09-09 06:37:49 +08:00
|
|
|
pip3 install esptool
|
2023-07-25 13:42:31 +08:00
|
|
|
echo "RTT_EXEC_PATH=/opt/riscv32-esp-elf/bin" >> $GITHUB_ENV
|
|
|
|
|
2023-06-14 01:05:56 +08:00
|
|
|
- name: Install Simulator Tools
|
2023-07-01 07:29:47 +08:00
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'gcc' && success() }}
|
2023-06-14 01:05:56 +08:00
|
|
|
run: |
|
|
|
|
sudo apt-get -qq install libsdl2-dev
|
|
|
|
|
2023-11-06 17:59:57 +08:00
|
|
|
- name: Install i386-unknown-elf Tools
|
|
|
|
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-i386-unknown-elf' && success() }}
|
|
|
|
run: |
|
|
|
|
wget -q https://github.com/zhkag/toolchains/releases/download/i386-unknown/i386-unknown-elf_for_x86_64-pc-linux-gnu_latest.tar.bz2
|
|
|
|
sudo tar -jxvf i386-unknown-elf_for_x86_64-pc-linux-gnu_latest.tar.bz2 -C /opt
|
|
|
|
/opt/i386-unknown-elf_for_x86_64-pc-linux-gnu/bin/i386-unknown-elf-gcc --version
|
|
|
|
echo "RTT_EXEC_PATH=/opt/i386-unknown-elf_for_x86_64-pc-linux-gnu/bin" >> $GITHUB_ENV
|
|
|
|
|
2020-12-08 14:32:40 +08:00
|
|
|
- name: Bsp Scons Compile
|
|
|
|
if: ${{ success() }}
|
|
|
|
shell: bash
|
2020-12-04 09:07:29 +08:00
|
|
|
env:
|
2020-12-08 14:32:40 +08:00
|
|
|
RTT_BSP: ${{ matrix.legs.RTT_BSP }}
|
|
|
|
RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}
|
2023-04-01 19:04:27 +08:00
|
|
|
SRTT_BSP: ${{ join(matrix.legs.SUB_RTT_BSP, ',') }}
|
2020-12-04 09:07:29 +08:00
|
|
|
run: |
|
2021-10-25 15:23:19 +08:00
|
|
|
source ~/.env/env.sh
|
2023-12-24 22:43:40 +08:00
|
|
|
python tools/ci/bsp_buildings.py
|