Skip to content

Commit 807e80f

Browse files
committed
test
1 parent 3e61e3a commit 807e80f

16 files changed

+36
-36
lines changed

.github/workflows/allboards.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
find-boards:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111

1212
outputs:
1313
fqbns: ${{ env.FQBNS }}
@@ -20,12 +20,12 @@ jobs:
2020
ref: ${{ github.event.client_payload.branch }}
2121

2222
- name: Get boards fqbns
23-
run:
23+
run:
2424
bash .github/scripts/find_all_boards.sh
2525

2626
setup-chunks:
2727
needs: find-boards
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-22.04
2929
if: needs.find-boards.outputs.fqbns != ''
3030

3131
outputs:
@@ -43,7 +43,7 @@ jobs:
4343

4444
- id: set-test-chunks
4545
name: Set Chunks
46-
run:
46+
run:
4747
echo "test-chunks<<EOF" >> $GITHUB_OUTPUT
4848

4949
echo "$( jq -nc '${{ needs.find-boards.outputs.fqbns }} | [_nwise( ${{ needs.find-boards.outputs.board-count }}/15 | ceil)]')" >> $GITHUB_OUTPUT
@@ -52,7 +52,7 @@ jobs:
5252

5353
test-boards:
5454
needs: setup-chunks
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-22.04
5656

5757
env:
5858
REPOSITORY: |
@@ -61,7 +61,7 @@ jobs:
6161
6262
strategy:
6363
fail-fast: false
64-
matrix:
64+
matrix:
6565
chunk: ${{ fromJSON(needs.setup-chunks.outputs['test-chunks']) }}
6666

6767
steps:
@@ -73,7 +73,7 @@ jobs:
7373
- name: Echo FQBNS to file
7474
run:
7575
echo "$FQBN" > fqbns.json
76-
env:
76+
env:
7777
FQBN: ${{ toJSON(matrix.chunk) }}
7878

7979
- name: Compile sketch

.github/workflows/boards.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
find-boards:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818

1919
outputs:
2020
fqbns: ${{ env.FQBNS }}
@@ -33,7 +33,7 @@ jobs:
3333

3434
test-boards:
3535
needs: find-boards
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
3737
if: needs.find-boards.outputs.fqbns != ''
3838

3939
env:

.github/workflows/build_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
build-tests:
2121
name: Build ${{ inputs.type }} tests for ${{ inputs.chip }}
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
env:
2424
id: ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
2525
steps:

.github/workflows/dangerjs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
pull-request-style-linter:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- name: Check out PR head
1515
uses: actions/checkout@v4
@@ -19,4 +19,4 @@ jobs:
1919
- name: DangerJS pull request linter
2020
uses: espressif/shared-github-dangerjs@v1
2121
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
build-pages:
1616
name: Build GitHub Pages
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Copy Files

.github/workflows/lib.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: |
2727
contains(github.event.pull_request.labels.*.name, 'lib_test') ||
2828
(github.event_name == 'schedule' && github.repository == 'espressif/arduino-esp32')
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-22.04
3030

3131
env:
3232
REPOSITORY: |
@@ -87,7 +87,7 @@ jobs:
8787
report-to-file:
8888
needs: compile-sketch # Wait for the compile job to finish to get the data for the report
8989
if: github.event_name == 'schedule' # Only run the job when the workflow is triggered by a schedule
90-
runs-on: ubuntu-latest
90+
runs-on: ubuntu-22.04
9191
steps:
9292
# Check out repository
9393
- name: Checkout repository
@@ -130,7 +130,7 @@ jobs:
130130
upload-pr-number:
131131
name: Upload PR number
132132
if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'lib_test'))
133-
runs-on: ubuntu-latest
133+
runs-on: ubuntu-22.04
134134
steps:
135135
- name: Save the PR number in an artifact
136136
shell: bash

.github/workflows/pre-commit-status.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
report-success:
1515
name: Report pre-commit success
1616
if: github.event.workflow_run.conclusion == 'success'
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Report success
2020
uses: actions/github-script@v7
@@ -40,7 +40,7 @@ jobs:
4040
report-pending:
4141
name: Report pre-commit pending
4242
if: github.event.workflow_run.conclusion != 'success'
43-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-22.04
4444
steps:
4545
- name: Report pending
4646
uses: actions/github-script@v7

.github/workflows/pre-commit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') ||
1919
github.event_name != 'pull_request'
2020
name: Check if fixes are needed
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222
steps:
2323
- name: Checkout latest commit
2424
uses: actions/checkout@v4

.github/workflows/publishlib.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
lib-test-results:
1717
name: External Libraries Test Results
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
if: |
2020
github.event.workflow_run.event == 'pull_request' &&
2121
github.event.workflow_run.conclusion == 'success'
@@ -47,7 +47,7 @@ jobs:
4747
uses: juliangruber/read-file-action@v1
4848
with:
4949
path: ./artifacts/workflows/pr_num.txt
50-
50+
5151
- name: Report results
5252
uses: P-R-O-C-H-Y/report-size-deltas@libs
5353
with:

.github/workflows/publishsizes.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
sizes-test-results:
1717
name: Sizes Comparsion Results
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
if: |
2020
github.event.workflow_run.event == 'pull_request' &&
2121
github.event.workflow_run.conclusion == 'success'

.github/workflows/push.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ env:
5151
jobs:
5252
cmake-check:
5353
name: Check cmake file
54-
runs-on: ubuntu-latest
54+
runs-on: ubuntu-22.04
5555
steps:
5656
- uses: actions/checkout@v4
5757
- run: bash ./.github/scripts/check-cmakelists.sh
5858

5959
gen-chunks:
6060
name: Generate chunks
61-
runs-on: ubuntu-latest
61+
runs-on: ubuntu-22.04
6262
outputs:
6363
build_all: ${{ steps.set-chunks.outputs.build_all }}
6464
build_static_sketches: ${{ steps.set-chunks.outputs.build_static_sketches }}
@@ -194,9 +194,9 @@ jobs:
194194

195195
# Ubuntu
196196
build-arduino-linux:
197-
name: Arduino ${{ matrix.chunk }} on ubuntu-latest
197+
name: Arduino ${{ matrix.chunk }} on ubuntu-22.04
198198
needs: gen-chunks
199-
runs-on: ubuntu-latest
199+
runs-on: ubuntu-22.04
200200
strategy:
201201
fail-fast: false
202202
matrix:
@@ -274,7 +274,7 @@ jobs:
274274
strategy:
275275
fail-fast: false
276276
matrix:
277-
os: [ubuntu-latest, windows-latest, macOS-latest]
277+
os: [ubuntu-22.04, windows-latest, macOS-latest]
278278

279279
steps:
280280
- uses: actions/checkout@v4
@@ -320,7 +320,7 @@ jobs:
320320
name: Save master artifacts
321321
needs: build-arduino-linux
322322
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
323-
runs-on: ubuntu-latest
323+
runs-on: ubuntu-22.04
324324
steps:
325325
# Check out repository
326326
- name: Checkout repository
@@ -356,7 +356,7 @@ jobs:
356356
upload-pr-number:
357357
name: Upload PR number
358358
if: github.event_name == 'pull_request'
359-
runs-on: ubuntu-latest
359+
runs-on: ubuntu-22.04
360360
steps:
361361
- name: Save the PR number in an artifact
362362
shell: bash

.github/workflows/qemu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
id: ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
2222
QEMU_INSTALL_PATH: "$HOME"
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-22.04
2424
steps:
2525
- name: Check if already run
2626
if: ${{ github.event.pull_request.number != null }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99
name: Publish Release
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111

1212
steps:
1313
- uses: actions/checkout@v4

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
gen-matrix:
3636
name: Generate matrix
3737
if: github.event.action != 'closed'
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-22.04
3939
outputs:
4040
build-types: ${{ steps.set-matrix.outputs.build-types }}
4141
hw-types: ${{ steps.set-matrix.outputs.hw-types }}
@@ -130,7 +130,7 @@ jobs:
130130
name: Unit Test Results
131131
needs: [call-hardware-tests, call-wokwi-tests, call-qemu-tests]
132132
if: always() && github.event_name == 'pull_request_target'
133-
runs-on: ubuntu-latest
133+
runs-on: ubuntu-22.04
134134
permissions:
135135
checks: write
136136
pull-requests: write
@@ -170,7 +170,7 @@ jobs:
170170
if: always() && ${{ github.event_name }} == 'pull_request_target' && ${{ github.event.action }} != 'closed'
171171
permissions:
172172
actions: write
173-
runs-on: ubuntu-latest
173+
runs-on: ubuntu-22.04
174174
steps:
175175
- name: Clean up caches
176176
uses: actions/github-script@v7

.github/workflows/upload-idf-component.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- '*'
66
jobs:
77
upload_components:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
1111
with:

.github/workflows/wokwi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: Wokwi ${{ inputs.chip }} ${{ inputs.type }} tests
2929
env:
3030
id: ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
31-
runs-on: ubuntu-latest
31+
runs-on: ubuntu-22.04
3232
steps:
3333
# Disabled as Wokwi infrastrucutre is not stable (so we can re-trigger the tests manually)
3434
# - name: Check if already run

0 commit comments

Comments
 (0)