Skip to content

Commit aeea4ae

Browse files
committed
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2 parents c03047a + c9c103f commit aeea4ae

File tree

162 files changed

+4459
-1409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+4459
-1409
lines changed

.github/workflows/action_tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions:
3232

3333
jobs:
3434
test:
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
name: Tools
3737
if: github.repository_owner == 'RT-Thread'
3838
strategy:

.github/workflows/action_utest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626

2727
jobs:
2828
test:
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-22.04
3030
name: ${{ matrix.legs.UTEST }}
3131
if: github.repository_owner == 'RT-Thread'
3232
strategy:

.github/workflows/auto_labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
permissions:
2121
contents: read
2222
pull-requests: write
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-22.04
2424
steps:
2525
- uses: actions/labeler@v5

.github/workflows/bsp_buildings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ permissions:
3030

3131
jobs:
3232
build:
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-22.04
3434
name: ${{ matrix.legs.RTT_BSP }}
3535
if: github.repository_owner == 'RT-Thread'
3636
strategy:
@@ -509,4 +509,4 @@ jobs:
509509
run: |
510510
curl -X POST -H "Authorization: token ${{ secrets.RTTHREAD_GITHUB_TOKEN }}" \
511511
-d '{"body":"@${{ github.actor }}, Thank you for your contribution, but there was an error with the action. Could you please help check the BSP compilation issue? Thank you."}' \
512-
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
512+
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"

.github/workflows/compile_bsp_with_drivers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333

3434
jobs:
3535
build:
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
3737
name: BSP Compilation with More Drivers
3838

3939
steps:

.github/workflows/doxygen.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,63 @@ on:
1111
- 'components/dfs/dfs_v2/include/**'
1212
- 'components/dfs/dfs_v2/src/**'
1313
- 'components/finsh/**'
14+
- '.github/workflows/doxygen.yml'
1415
# Runs at 16:00 UTC (BeiJing 00:00) on the 30st of every month
16+
push:
17+
branches: [master]
18+
paths:
19+
- 'documentation/doxygen/**'
20+
- 'src/**'
21+
- 'include/**'
22+
- 'components/drivers/include/drivers/**'
23+
- 'components/dfs/dfs_v2/include/**'
24+
- 'components/dfs/dfs_v2/src/**'
25+
- 'components/finsh/**'
26+
- '.github/workflows/doxygen.yml'
1527
schedule:
1628
- cron: '0 16 30 * *'
1729
workflow_dispatch:
18-
30+
31+
permissions:
32+
contents: read
33+
pages: write
34+
id-token: write
35+
1936
jobs:
2037
build:
2138
runs-on: ubuntu-22.04
2239
name: doxygen_doc generate
2340
if: github.repository_owner == 'RT-Thread'
2441
steps:
25-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@main
2643
with:
2744
submodules: 'recursive'
2845
- name: Install Tools
2946
shell: bash
3047
run: |
3148
sudo apt-get update
3249
sudo apt-get -qq install doxygen graphviz
33-
- name: generat doxygen html
50+
- name: generate doxygen html
3451
shell: bash
3552
run: |
3653
cd documentation/doxygen
3754
doxygen Doxyfile
3855
cat Doxyfile
56+
57+
- name: Upload static files as artifact
58+
id: deployment
59+
uses: actions/upload-pages-artifact@main # or specific "vX.X.X" version tag for this action
60+
with:
61+
path: documentation/doxygen/html/
62+
63+
deploy:
64+
if: github.event_name == 'push'
65+
environment:
66+
name: github-pages
67+
url: ${{ steps.deployment.outputs.page_url }}
68+
runs-on: ubuntu-22.04
69+
needs: build
70+
steps:
71+
- name: Deploy to GitHub Pages
72+
id: deployment
73+
uses: actions/deploy-pages@main

.github/workflows/format_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
scancode_job:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
name: Scan code format and license
1616
if: github.repository_owner == 'RT-Thread'
1717
steps:

.github/workflows/manual_bsp_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ permissions:
5151

5252
jobs:
5353
build:
54-
runs-on: ubuntu-latest
54+
runs-on: ubuntu-22.04
5555
name: ${{ github.event.inputs.bsp_options }}
5656
steps:
5757
- uses: actions/checkout@v4

.github/workflows/manual_dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ permissions:
5050

5151
jobs:
5252
build:
53-
runs-on: ubuntu-latest
53+
runs-on: ubuntu-22.04
5454
name: ${{ github.event.inputs.bsp_options }}
5555
steps:
5656
- uses: actions/checkout@v4

.github/workflows/manual_trigger_scons_STM32_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions:
3232

3333
jobs:
3434
build:
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
name: ${{ matrix.legs.RTT_BSP }}
3737
if: github.repository_owner == 'RT-Thread'
3838
strategy:

0 commit comments

Comments
 (0)