File tree Expand file tree Collapse file tree 16 files changed +36
-36
lines changed
Expand file tree Collapse file tree 16 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 77
88jobs :
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 :
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
5252
5353 test-boards :
5454 needs : setup-chunks
55- runs-on : ubuntu-latest
55+ runs-on : ubuntu-22.04
5656
5757 env :
5858 REPOSITORY : |
6161
6262 strategy :
6363 fail-fast : false
64- matrix :
64+ matrix :
6565 chunk : ${{ fromJSON(needs.setup-chunks.outputs['test-chunks']) }}
6666
6767 steps :
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
Original file line number Diff line number Diff line change 1414
1515jobs :
1616 find-boards :
17- runs-on : ubuntu-latest
17+ runs-on : ubuntu-22.04
1818
1919 outputs :
2020 fqbns : ${{ env.FQBNS }}
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 :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ concurrency:
1919jobs :
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 :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99
1010jobs :
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
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 }}
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 : |
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1515jobs :
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'
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 :
Original file line number Diff line number Diff line change 1515jobs :
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'
You can’t perform that action at this time.
0 commit comments