summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSupper Thomas <[email protected]>2024-07-19 13:09:00 +0800
committerMeco Man <[email protected]>2024-07-20 15:30:35 +0800
commit30b605aa55d9572762ee4c208ccfd2248dee6317 (patch)
treef53fb358d32292de339b34b161f81f15a9bc0308 /.github
parent6b3ef178304bbde511d84e7ab377d65e4af98e9b (diff)
[action][runner] add the keil ci check for runner
Signed-off-by: Supper Thomas <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/action_runner.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/action_runner.yml b/.github/workflows/action_runner.yml
new file mode 100644
index 0000000000..599873eda8
--- /dev/null
+++ b/.github/workflows/action_runner.yml
@@ -0,0 +1,56 @@
+#
+# Copyright (c) 2006-2024, RT-Thread Development Team
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Change Logs:
+# Date Author Notes
+# 2024-07-19 supperthomas the first version
+#
+name: action_runner
+
+on:
+ workflow_dispatch:
+ inputs:
+ bsp_options:
+ description: 'Which bsp path Would you want dist in bsp?like stm32/stm32f103-blue-pill'
+ required: false
+ type: string
+ default: 'stm32/stm32f103-blue-pill'
+ bsp_tool_chain:
+ description: 'Choice tool_chain'
+ required: false
+ default: 'KEIL'
+ type: choice
+ options:
+ - "KEIL"
+ - "IAR"
+ bsp_config:
+ description: 'Type a config you want mannual test in .config, like: CONFIG_RT_USING_DEBUG=y,CONFIG_RT_DEBUGING_COLOR=y,CONFIG_RT_DEBUGING_CONTEXT=y'
+ required: false
+ type: string
+ default: 'CONFIG_RT_USING_DEBUG=y,CONFIG_RT_DEBUGING_COLOR=y,CONFIG_RT_DEBUGING_CONTEXT=y'
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ runs-on: [self-hosted, windows, x64]
+ name: ${{ github.event.inputs.bsp_options }}
+ steps:
+ - uses: actions/checkout@v3
+ - name: Bsp Scons Compile
+ if: ${{ success() }}
+ env:
+ RTT_BSP: ${{ github.event.inputs.bsp_options }}
+ RTT_TOOL_CHAIN: ${{ github.event.inputs.bsp_tool_chain}}
+ run: |
+ ls
+ echo $RTT_BSP
+ cd bsp/stm32/stm32f103-blue-pill
+ scons --target=mdk5
+ UV4.exe -b project.uvprojx -q -j0 -t rt-thread -o action_runner.log
+ ls
+ sleep 10
+ cat action_runner.log \ No newline at end of file