summaryrefslogtreecommitdiff
path: root/.github/workflows/action.yml
diff options
context:
space:
mode:
authorzhkag <[email protected]>2023-06-14 01:05:56 +0800
committerGitHub <[email protected]>2023-06-13 13:05:56 -0400
commitaa4aeedb745cc4cb07ad9afb76b19641f968ff28 (patch)
tree7f4a55d497d0aa76796230f55329547dbedc1ca8 /.github/workflows/action.yml
parent446fdf13292603c067608463b04c2c0e361d4af1 (diff)
[simulator] 添加 simulator in Linux ci (#7664)
Diffstat (limited to '.github/workflows/action.yml')
-rw-r--r--.github/workflows/action.yml10
1 files changed, 10 insertions, 0 deletions
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