Skip to content

Commit

Permalink
add bsp build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingcys committed Sep 24, 2024
1 parent 7df04a0 commit 1d653b1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/bsp_buildings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ jobs:
RTT_TOOL_CHAIN: "sourcery-i386-unknown-elf"
SUB_RTT_BSP:
- "x86"
- RTT_BSP: "xuantie-900"
RTT_TOOL_CHAIN: "sourcery-Xuantie-900-gcc-elf"
SUB_RTT_BSP:
- "cvitek/c906_little"
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -465,6 +469,14 @@ jobs:
/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
- name: Install Xuantie-900-gcc-elf Tools
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-Xuantie-900-gcc-elf' && success() }}
run: |
wget -q https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1705395512373/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1-20240115.tar.gz
sudo tar -zxvf Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1-20240115.tar.gz -C /opt
/opt/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1/bin/riscv64-unknown-elf-gcc --version
echo "RTT_EXEC_PATH=/opt/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1/bin" >> $GITHUB_ENV
- name: Bsp Scons Compile
if: ${{ success() }}
shell: bash
Expand Down

0 comments on commit 1d653b1

Please sign in to comment.