Skip to content

Commit 30500ab

Browse files
committed
Merge remote-tracking branch 'upstream/master' into doc-ja
# Conflicts: # docs/conf.py # lib/tinyusb
2 parents 66a141c + c9a16e8 commit 30500ab

File tree

529 files changed

+6876
-2972
lines changed

Some content is hidden

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

529 files changed

+6876
-2972
lines changed

.github/workflows/code_formatting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v5
14-
- uses: actions/setup-python@v5
14+
- uses: actions/setup-python@v6
1515
- name: Install packages
16-
run: source tools/ci.sh && ci_c_code_formatting_setup
16+
run: tools/ci.sh c_code_formatting_setup
1717
- name: Run code formatting
18-
run: source tools/ci.sh && ci_c_code_formatting_run
18+
run: tools/ci.sh c_code_formatting_run
1919
- name: Check code formatting
2020
run: git diff --exit-code

.github/workflows/code_size.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
with:
3030
fetch-depth: 100
3131
- name: Install packages
32-
run: source tools/ci.sh && ci_code_size_setup
32+
run: tools/ci.sh code_size_setup
3333
- name: Build
34-
run: source tools/ci.sh && ci_code_size_build
34+
run: tools/ci.sh code_size_build
3535
- name: Compute code size difference
36-
run: tools/metrics.py diff ~/size0 ~/size1 | tee diff
36+
run: source tools/ci.sh && ci_code_size_report
3737
- name: Save PR number
3838
if: github.event_name == 'pull_request'
3939
env:

.github/workflows/code_size_comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: 'Download artifact'
1717
id: download-artifact
18-
uses: actions/github-script@v7
18+
uses: actions/github-script@v8
1919
with:
2020
result-encoding: string
2121
script: |
@@ -56,7 +56,7 @@ jobs:
5656
run: unzip code-size-report.zip
5757
- name: Post comment to pull request
5858
if: steps.download-artifact.outputs.result == 'ok'
59-
uses: actions/github-script@v7
59+
uses: actions/github-script@v8
6060
with:
6161
github-token: ${{secrets.GITHUB_TOKEN}}
6262
script: |

.github/workflows/commit_formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 100
16-
- uses: actions/setup-python@v5
16+
- uses: actions/setup-python@v6
1717
- name: Check commit message formatting
18-
run: source tools/ci.sh && ci_commit_formatting_run
18+
run: tools/ci.sh commit_formatting_run

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v5
21-
- uses: actions/setup-python@v5
21+
- uses: actions/setup-python@v6
2222
- name: Install Python packages
2323
run: pip install -r docs/requirements.txt
2424
- name: Build unix port
25-
run: source tools/ci.sh && ci_unix_build_helper
25+
run: tools/ci.sh unix_build_helper
2626
- name: Build docs
2727
run: make -C docs/ html

.github/workflows/mpremote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# Setting this to zero means fetch all history and tags,
1717
# which hatch-vcs can use to discover the version tag.
1818
fetch-depth: 0
19-
- uses: actions/setup-python@v5
19+
- uses: actions/setup-python@v6
2020
- name: Install build tools
2121
run: pip install build
2222
- name: Build mpremote wheel

.github/workflows/mpy_format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ concurrency:
1515

1616
jobs:
1717
test:
18-
runs-on: ubuntu-22.04 # use 22.04 to get python2
18+
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v5
2121
- name: Install packages
22-
run: source tools/ci.sh && ci_mpy_format_setup
22+
run: tools/ci.sh mpy_format_setup
2323
- name: Test mpy-tool.py
24-
run: source tools/ci.sh && ci_mpy_format_test
24+
run: tools/ci.sh mpy_format_test

.github/workflows/ports_alif.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v5
3030
- name: Install packages
31-
run: source tools/ci.sh && ci_alif_setup
31+
run: tools/ci.sh alif_setup
3232
- name: Build ci_${{matrix.ci_func }}
33-
run: source tools/ci.sh && ci_${{ matrix.ci_func }}
33+
run: tools/ci.sh ${{ matrix.ci_func }}

.github/workflows/ports_cc3200.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v5
2525
- name: Install packages
26-
run: source tools/ci.sh && ci_cc3200_setup
26+
run: tools/ci.sh cc3200_setup
2727
- name: Build
28-
run: source tools/ci.sh && ci_cc3200_build
28+
run: tools/ci.sh cc3200_build

.github/workflows/ports_esp32.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
- 'lib/**'
1313
- 'drivers/**'
1414
- 'ports/esp32/**'
15+
schedule:
16+
# Scheduled run exists to keep master branch ESP-IDF cache entry hot
17+
# and prevent creating many redundant per-branch cache entries instead.
18+
- cron: "20 0 * * *"
1519

1620
concurrency:
1721
group: ${{ github.workflow }}-${{ github.ref }}
@@ -47,12 +51,12 @@ jobs:
4751

4852
- name: Install ESP-IDF packages
4953
if: steps.cache_esp_idf.outputs.cache-hit != 'true'
50-
run: source tools/ci.sh && ci_esp32_idf_setup
54+
run: tools/ci.sh esp32_idf_setup
5155

5256
- name: ccache
5357
uses: hendrikmuhs/ccache-action@v1.2
5458
with:
5559
key: esp32-${{ matrix.ci_func }}
5660

5761
- name: Build ci_${{matrix.ci_func }}
58-
run: source tools/ci.sh && ci_${{ matrix.ci_func }}
62+
run: tools/ci.sh ${{ matrix.ci_func }}

0 commit comments

Comments
 (0)