diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 084f1f4af0..ae1b8b3d7d 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -292,6 +292,11 @@ jobs: SUB_RTT_BSP: - "stm32/stm32l475-atk-pandora" - "renesas/ra6m3-hmi-board" + - RTT_BSP: "simulator" + RTT_TOOL_CHAIN: "gcc" + SUB_RTT_BSP: + - "simulator" + steps: - uses: actions/checkout@v3 - name: Set up Python @@ -364,6 +369,11 @@ jobs: /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 + - name: Install Simulator Tools + if: ${{ matrix.legs.RTT_BSP == 'simulator' && success() }} + run: | + sudo apt-get -qq install libsdl2-dev + - name: Bsp Scons Compile if: ${{ success() }} shell: bash diff --git a/.github/workflows/manual_dist.yml b/.github/workflows/manual_dist.yml index 359bb4f2b3..1d0526e4ea 100644 --- a/.github/workflows/manual_dist.yml +++ b/.github/workflows/manual_dist.yml @@ -22,6 +22,7 @@ on: - "sourcery-mips" - "sourcery-riscv-none-embed" - "sourcery-riscv64-unknown-elf" + - "gcc" bsp_config: description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT ' required: false @@ -107,6 +108,11 @@ jobs: /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 + - name: Install Simulator Tools + if: ${{ github.event.inputs.bsp_options == 'simulator' && success() }} + run: | + sudo apt-get -qq install libsdl2-dev + - name: Bsp Scons Compile if: ${{ success() }} shell: bash