Skip to content

Commit

Permalink
add bsp/x86 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zhkag authored and mysterywolf committed Nov 6, 2023
1 parent 0f2e586 commit 246945a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 246945a

Please sign in to comment.