Skip to content

Commit b1f3b35

Browse files
authored
Merge branch 'RT-Thread:master' into master
2 parents e12e42c + d3d33ff commit b1f3b35

File tree

1,850 files changed

+222798
-355293
lines changed

Some content is hidden

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

1,850 files changed

+222798
-355293
lines changed

.github/workflows/action_tools.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ on:
2626
- '**/*.c'
2727
- '**/*.h'
2828
- '**/*.cpp'
29+
workflow_dispatch:
30+
repository_dispatch:
2931

3032
permissions:
3133
contents: read # to fetch code (actions/checkout)
3234

3335
jobs:
3436
test:
35-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-22.04
3638
name: Tools
3739
if: github.repository_owner == 'RT-Thread'
3840
strategy:
@@ -60,7 +62,12 @@ jobs:
6062
6163
- name: Build Tools
6264
run: |
63-
scons --pyconfig-silent -C $TEST_BSP_ROOT
65+
scons --pyconfig-silent -C $TEST_BSP_ROOT 2>menuconfig.log
66+
cat menuconfig.log
67+
if grep -q "warning:" menuconfig.log; then
68+
echo "Errors found in menuconfig, failing the build."
69+
exit 1
70+
fi
6471
scons -j$(nproc) -C $TEST_BSP_ROOT
6572
6673
- name: Project generate Tools

.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: 7 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:
@@ -93,6 +93,7 @@ jobs:
9393
- "hc32l196"
9494
- "mm32/mm32f3270-100ask-pitaya"
9595
- "mm32f327x"
96+
- "mm32f526x"
9697
- "mm32l07x"
9798
- "sam7x"
9899
- "hk32/hk32f030c8-mini"
@@ -101,6 +102,7 @@ jobs:
101102
- "rm48x50"
102103
- "ht32/ht32f52352"
103104
- "ht32/ht32f12366"
105+
- "ht32/ht32f53252"
104106
- "w60x"
105107
- "essemi/es32f0654"
106108
- "essemi/es32f365x"
@@ -189,6 +191,7 @@ jobs:
189191
- "stm32/stm32h563-st-nucleo"
190192
- "stm32/stm32h503-st-nucleo"
191193
- "stm32/stm32h723-st-nucleo"
194+
- "stm32/stm32h730-esphosted-evb"
192195
- "stm32/stm32h743-armfly-v7"
193196
- "stm32/stm32h743-atk-apollo"
194197
- "stm32/stm32h743-openmv-h7plus"
@@ -231,6 +234,7 @@ jobs:
231234
- "nxp/mcx/mcxn/frdm-mcxn947"
232235
- "nxp/mcx/mcxn/frdm-mcxn236"
233236
- "nxp/mcx/mcxa/frdm-mcxa153"
237+
- "nxp/mcx/mcxa/frdm-mcxa156"
234238
- "renesas/ebf_qi_min_6m5"
235239
- "renesas/ra6m4-cpk"
236240
- "renesas/ra6m4-iot"
@@ -404,6 +408,7 @@ jobs:
404408
wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh
405409
chmod 777 install_ubuntu.sh
406410
./install_ubuntu.sh
411+
pip install -r tools/requirements.txt
407412
git config --global http.postBuffer 524288000
408413
echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
409414
echo "RTT_CC=gcc" >> $GITHUB_ENV
@@ -509,4 +514,4 @@ jobs:
509514
run: |
510515
curl -X POST -H "Authorization: token ${{ secrets.RTTHREAD_GITHUB_TOKEN }}" \
511516
-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"
517+
"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: 39 additions & 4 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: |
36-
cd documentation/doxygen
53+
cd documentation
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/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)