diff options
| author | zhkag <[email protected]> | 2023-11-06 17:59:57 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-11-06 06:23:09 -0500 |
| commit | 246945a74cd9eca9d77177c4341b2fcd0a0367fd (patch) | |
| tree | 6321e378d4ca1ba5785f0d7a2ba54005ed18226a /.github | |
| parent | 0f2e586613d863e8cfae60308870c14267500ba6 (diff) | |
add bsp/x86 ci
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/action.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index b4a0ccfc3d..b33603f864 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -311,6 +311,10 @@ jobs: RTT_TOOL_CHAIN: "sourcery-riscv32-esp32" SUB_RTT_BSP: - "ESP32_C3" + - RTT_BSP: "i386-unknown" + RTT_TOOL_CHAIN: "sourcery-i386-unknown-elf" + SUB_RTT_BSP: + - "x86" steps: - uses: actions/checkout@v3 - name: Set up Python @@ -398,6 +402,14 @@ jobs: run: | sudo apt-get -qq install libsdl2-dev + - 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 + - name: Bsp Scons Compile if: ${{ success() }} shell: bash |
