summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuqiang Wang <[email protected]>2025-04-24 16:04:11 +0800
committerRbb666 <[email protected]>2025-04-24 16:46:04 +0800
commit8382a40a902cbb546e2444d2be9b79a50575735f (patch)
treee66c1870d205b79652a5fcbd441d90d57ecb7423 /.github
parent6ffa53a914e99ce19736d13bfa84ecbf986917a4 (diff)
add k230 ci check
Diffstat (limited to '.github')
-rw-r--r--.github/ALL_BSP_COMPILE.json7
-rw-r--r--.github/workflows/bsp_buildings.yml8
2 files changed, 15 insertions, 0 deletions
diff --git a/.github/ALL_BSP_COMPILE.json b/.github/ALL_BSP_COMPILE.json
index 959b28b122..6a441e4157 100644
--- a/.github/ALL_BSP_COMPILE.json
+++ b/.github/ALL_BSP_COMPILE.json
@@ -398,6 +398,13 @@
]
},
{
+ "RTT_BSP": "K230",
+ "RTT_TOOL_CHAIN": "riscv64-unknown-linux-musl-",
+ "SUB_RTT_BSP": [
+ "k230"
+ ]
+ },
+ {
"RTT_BSP": "hpmicro",
"RTT_TOOL_CHAIN": "RISC-V-GCC-RV32",
"SUB_RTT_BSP": [
diff --git a/.github/workflows/bsp_buildings.yml b/.github/workflows/bsp_buildings.yml
index 0ea40addcb..59ac88c9f0 100644
--- a/.github/workflows/bsp_buildings.yml
+++ b/.github/workflows/bsp_buildings.yml
@@ -183,6 +183,14 @@ jobs:
/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 k230 MUSL ToolChains
+ if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'riscv64-unknown-linux-musl-' && matrix.legs.RTT_BSP == 'K230' && success() }}
+ run: |
+ wget -q https://download.rt-thread.org/rt-smart/riscv64/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_251248.tar.bz2
+ sudo tar xjf riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_251248.tar.bz2 -C /opt
+ /opt/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu/bin/riscv64-unknown-linux-musl-gcc --version
+ echo "RTT_EXEC_PATH=/opt/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu/bin" >> $GITHUB_ENV
+
- name: Install riscv32-unknown-elf Toolchains
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'RISC-V-GCC-RV32' && success() }}
run: |