Skip to content

Commit aa0583f

Browse files
authored
add action
1 parent 56504f0 commit aa0583f

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

.github/workflows/main.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: doxygen
2+
on:
3+
# Runs at 16:00 UTC (BeiJing 00:00) on the 1st of every month
4+
schedule:
5+
- cron: '0 16 31 * *'
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
name: ${{ matrix.legs.RTT_BSP }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
legs:
17+
- {RTT_BSP: "qemu-vexpress-a9", RTT_TOOL_CHAIN: "sourcery-arm"}
18+
steps:
19+
- uses: actions/checkout@v3
20+
with:
21+
submodules: 'recursive'
22+
- name: Install Tools
23+
shell: bash
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get -qq install doxygen graphviz
27+
- name: Bsp Scons Compile
28+
if: ${{ success() }}
29+
shell: bash
30+
env:
31+
RTT_BSP: ${{ matrix.legs.RTT_BSP }}
32+
RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}
33+
run: |
34+
ls
35+
cp Doxyfile rt-thread/documentation/doxygen/Doxyfile
36+
cd rt-thread/documentation/doxygen
37+
doxygen Doxyfile
38+
cd ../../../
39+
ls
40+
rm docs -rf
41+
mv rt-thread/documentation/doxygen/html docs
42+
git status .
43+
44+
- name: Push to GitHub
45+
uses: EndBug/add-and-commit@v9
46+
with:
47+
message: "🎆 docs: Update new data"

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "rt-thread"]
2+
path = rt-thread
3+
url = https://github.com/RT-Thread/rt-thread.git

rt-thread

Submodule rt-thread added at af143ee

0 commit comments

Comments
 (0)