File tree 16 files changed +36
-36
lines changed
16 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
find-boards :
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-22.04
11
11
12
12
outputs :
13
13
fqbns : ${{ env.FQBNS }}
@@ -20,12 +20,12 @@ jobs:
20
20
ref : ${{ github.event.client_payload.branch }}
21
21
22
22
- name : Get boards fqbns
23
- run :
23
+ run :
24
24
bash .github/scripts/find_all_boards.sh
25
25
26
26
setup-chunks :
27
27
needs : find-boards
28
- runs-on : ubuntu-latest
28
+ runs-on : ubuntu-22.04
29
29
if : needs.find-boards.outputs.fqbns != ''
30
30
31
31
outputs :
43
43
44
44
- id : set-test-chunks
45
45
name : Set Chunks
46
- run :
46
+ run :
47
47
echo "test-chunks<<EOF" >> $GITHUB_OUTPUT
48
48
49
49
echo "$( jq -nc '${{ needs.find-boards.outputs.fqbns }} | [_nwise( ${{ needs.find-boards.outputs.board-count }}/15 | ceil)]')" >> $GITHUB_OUTPUT
52
52
53
53
test-boards :
54
54
needs : setup-chunks
55
- runs-on : ubuntu-latest
55
+ runs-on : ubuntu-22.04
56
56
57
57
env :
58
58
REPOSITORY : |
61
61
62
62
strategy :
63
63
fail-fast : false
64
- matrix :
64
+ matrix :
65
65
chunk : ${{ fromJSON(needs.setup-chunks.outputs['test-chunks']) }}
66
66
67
67
steps :
73
73
- name : Echo FQBNS to file
74
74
run :
75
75
echo "$FQBN" > fqbns.json
76
- env :
76
+ env :
77
77
FQBN : ${{ toJSON(matrix.chunk) }}
78
78
79
79
- name : Compile sketch
Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
find-boards :
17
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-22.04
18
18
19
19
outputs :
20
20
fqbns : ${{ env.FQBNS }}
33
33
34
34
test-boards :
35
35
needs : find-boards
36
- runs-on : ubuntu-latest
36
+ runs-on : ubuntu-22.04
37
37
if : needs.find-boards.outputs.fqbns != ''
38
38
39
39
env :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ concurrency:
19
19
jobs :
20
20
build-tests :
21
21
name : Build ${{ inputs.type }} tests for ${{ inputs.chip }}
22
- runs-on : ubuntu-latest
22
+ runs-on : ubuntu-22.04
23
23
env :
24
24
id : ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
25
25
steps :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
9
9
10
10
jobs :
11
11
pull-request-style-linter :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-22.04
13
13
steps :
14
14
- name : Check out PR head
15
15
uses : actions/checkout@v4
19
19
- name : DangerJS pull request linter
20
20
uses : espressif/shared-github-dangerjs@v1
21
21
env :
22
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 14
14
15
15
build-pages :
16
16
name : Build GitHub Pages
17
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-22.04
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
- name : Copy Files
Original file line number Diff line number Diff line change 26
26
if : |
27
27
contains(github.event.pull_request.labels.*.name, 'lib_test') ||
28
28
(github.event_name == 'schedule' && github.repository == 'espressif/arduino-esp32')
29
- runs-on : ubuntu-latest
29
+ runs-on : ubuntu-22.04
30
30
31
31
env :
32
32
REPOSITORY : |
87
87
report-to-file :
88
88
needs : compile-sketch # Wait for the compile job to finish to get the data for the report
89
89
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
91
91
steps :
92
92
# Check out repository
93
93
- name : Checkout repository
@@ -130,7 +130,7 @@ jobs:
130
130
upload-pr-number :
131
131
name : Upload PR number
132
132
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
134
134
steps :
135
135
- name : Save the PR number in an artifact
136
136
shell : bash
Original file line number Diff line number Diff line change 14
14
report-success :
15
15
name : Report pre-commit success
16
16
if : github.event.workflow_run.conclusion == 'success'
17
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-22.04
18
18
steps :
19
19
- name : Report success
20
20
uses : actions/github-script@v7
40
40
report-pending :
41
41
name : Report pre-commit pending
42
42
if : github.event.workflow_run.conclusion != 'success'
43
- runs-on : ubuntu-latest
43
+ runs-on : ubuntu-22.04
44
44
steps :
45
45
- name : Report pending
46
46
uses : actions/github-script@v7
Original file line number Diff line number Diff line change 18
18
contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge') ||
19
19
github.event_name != 'pull_request'
20
20
name : Check if fixes are needed
21
- runs-on : ubuntu-latest
21
+ runs-on : ubuntu-22.04
22
22
steps :
23
23
- name : Checkout latest commit
24
24
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 15
15
jobs :
16
16
lib-test-results :
17
17
name : External Libraries Test Results
18
- runs-on : ubuntu-latest
18
+ runs-on : ubuntu-22.04
19
19
if : |
20
20
github.event.workflow_run.event == 'pull_request' &&
21
21
github.event.workflow_run.conclusion == 'success'
47
47
uses : juliangruber/read-file-action@v1
48
48
with :
49
49
path : ./artifacts/workflows/pr_num.txt
50
-
50
+
51
51
- name : Report results
52
52
uses : P-R-O-C-H-Y/report-size-deltas@libs
53
53
with :
Original file line number Diff line number Diff line change 15
15
jobs :
16
16
sizes-test-results :
17
17
name : Sizes Comparsion Results
18
- runs-on : ubuntu-latest
18
+ runs-on : ubuntu-22.04
19
19
if : |
20
20
github.event.workflow_run.event == 'pull_request' &&
21
21
github.event.workflow_run.conclusion == 'success'
Original file line number Diff line number Diff line change 51
51
jobs :
52
52
cmake-check :
53
53
name : Check cmake file
54
- runs-on : ubuntu-latest
54
+ runs-on : ubuntu-22.04
55
55
steps :
56
56
- uses : actions/checkout@v4
57
57
- run : bash ./.github/scripts/check-cmakelists.sh
58
58
59
59
gen-chunks :
60
60
name : Generate chunks
61
- runs-on : ubuntu-latest
61
+ runs-on : ubuntu-22.04
62
62
outputs :
63
63
build_all : ${{ steps.set-chunks.outputs.build_all }}
64
64
build_static_sketches : ${{ steps.set-chunks.outputs.build_static_sketches }}
@@ -194,9 +194,9 @@ jobs:
194
194
195
195
# Ubuntu
196
196
build-arduino-linux :
197
- name : Arduino ${{ matrix.chunk }} on ubuntu-latest
197
+ name : Arduino ${{ matrix.chunk }} on ubuntu-22.04
198
198
needs : gen-chunks
199
- runs-on : ubuntu-latest
199
+ runs-on : ubuntu-22.04
200
200
strategy :
201
201
fail-fast : false
202
202
matrix :
@@ -274,7 +274,7 @@ jobs:
274
274
strategy :
275
275
fail-fast : false
276
276
matrix :
277
- os : [ubuntu-latest , windows-latest, macOS-latest]
277
+ os : [ubuntu-22.04 , windows-latest, macOS-latest]
278
278
279
279
steps :
280
280
- uses : actions/checkout@v4
@@ -320,7 +320,7 @@ jobs:
320
320
name : Save master artifacts
321
321
needs : build-arduino-linux
322
322
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
323
- runs-on : ubuntu-latest
323
+ runs-on : ubuntu-22.04
324
324
steps :
325
325
# Check out repository
326
326
- name : Checkout repository
@@ -356,7 +356,7 @@ jobs:
356
356
upload-pr-number :
357
357
name : Upload PR number
358
358
if : github.event_name == 'pull_request'
359
- runs-on : ubuntu-latest
359
+ runs-on : ubuntu-22.04
360
360
steps :
361
361
- name : Save the PR number in an artifact
362
362
shell : bash
Original file line number Diff line number Diff line change 20
20
env :
21
21
id : ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
22
22
QEMU_INSTALL_PATH : " $HOME"
23
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-22.04
24
24
steps :
25
25
- name : Check if already run
26
26
if : ${{ github.event.pull_request.number != null }}
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
name : Publish Release
10
- runs-on : ubuntu-latest
10
+ runs-on : ubuntu-22.04
11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 35
35
gen-matrix :
36
36
name : Generate matrix
37
37
if : github.event.action != 'closed'
38
- runs-on : ubuntu-latest
38
+ runs-on : ubuntu-22.04
39
39
outputs :
40
40
build-types : ${{ steps.set-matrix.outputs.build-types }}
41
41
hw-types : ${{ steps.set-matrix.outputs.hw-types }}
@@ -130,7 +130,7 @@ jobs:
130
130
name : Unit Test Results
131
131
needs : [call-hardware-tests, call-wokwi-tests, call-qemu-tests]
132
132
if : always() && github.event_name == 'pull_request_target'
133
- runs-on : ubuntu-latest
133
+ runs-on : ubuntu-22.04
134
134
permissions :
135
135
checks : write
136
136
pull-requests : write
@@ -170,7 +170,7 @@ jobs:
170
170
if : always() && ${{ github.event_name }} == 'pull_request_target' && ${{ github.event.action }} != 'closed'
171
171
permissions :
172
172
actions : write
173
- runs-on : ubuntu-latest
173
+ runs-on : ubuntu-22.04
174
174
steps :
175
175
- name : Clean up caches
176
176
uses : actions/github-script@v7
Original file line number Diff line number Diff line change 5
5
- ' *'
6
6
jobs :
7
7
upload_components :
8
- runs-on : ubuntu-latest
8
+ runs-on : ubuntu-22.04
9
9
steps :
10
10
- uses : actions/checkout@v4
11
11
with :
Original file line number Diff line number Diff line change 28
28
name : Wokwi ${{ inputs.chip }} ${{ inputs.type }} tests
29
29
env :
30
30
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
32
32
steps :
33
33
# Disabled as Wokwi infrastrucutre is not stable (so we can re-trigger the tests manually)
34
34
# - name: Check if already run
You can’t perform that action at this time.
0 commit comments