File tree Expand file tree Collapse file tree 7 files changed +2
-17
lines changed Expand file tree Collapse file tree 7 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : build-firmware
2
2
description : Builds the firmware partitions and uploads them as an artifact
3
3
inputs :
4
- python-version :
5
- required : true
6
- description : ' Python version to use'
7
4
board :
8
5
required : true
9
6
description : ' Board name to build'
31
28
32
29
- uses : actions/setup-python@v5
33
30
with :
34
- python-version : ${{ inputs.python-version }}
35
31
cache : ' pip'
36
32
37
33
- name : Install python dependencies
Original file line number Diff line number Diff line change 1
1
name : build-staticfs
2
2
description : Builds the static filesystem partition and uploads it as an artifact
3
3
inputs :
4
- python-version :
5
- description : ' Python version to use'
6
- required : true
7
4
skip-checkout :
8
5
description : ' If true, skips checkout'
9
6
required : false
25
22
26
23
- uses : actions/setup-python@v5
27
24
with :
28
- python-version : ${{ inputs.python-version }}
29
25
cache : ' pip'
30
26
31
27
- name : Install dependencies
Original file line number Diff line number Diff line change 1
1
name : merge-partitions
2
2
description : Merges multiple partitions into a single flashable binary
3
3
inputs :
4
- python-version :
5
- description : ' Python version to use'
6
- required : true
7
4
version :
8
5
description : ' Version of the firmware'
9
6
required : true
@@ -28,12 +25,11 @@ runs:
28
25
29
26
- uses : actions/setup-python@v5
30
27
with :
31
- python-version : ${{ inputs.python-version }}
32
28
cache : ' pip'
33
29
34
30
- name : Install dependencies
35
31
shell : bash
36
- run : pip install esptool
32
+ run : pip install -r requirements.txt
37
33
38
34
- name : Download static filesystem partition
39
35
uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change 47
47
- uses : actions/checkout@v4
48
48
- uses : ./.github/actions/build-staticfs
49
49
with :
50
- python-version : ${{ env.PYTHON_VERSION }}
51
50
skip-checkout : true
52
51
53
52
build-firmware :
62
61
63
62
- uses : ./.github/actions/build-firmware
64
63
with :
65
- python-version : ${{ env.PYTHON_VERSION }}
66
64
board : ${{ matrix.board }}
67
65
version : ${{ needs.getvars.outputs.version }}
68
66
skip-checkout : true
85
83
86
84
- uses : ./.github/actions/merge-partitions
87
85
with :
88
- python-version : ${{ env.PYTHON_VERSION }}
89
86
version : ${{ needs.getvars.outputs.version }}
90
87
board : ${{ matrix.board }}
91
88
skip-checkout : true
Original file line number Diff line number Diff line change 86
86
87
87
- uses : ./.github/actions/build-firmware
88
88
with :
89
- python-version : 3.12
90
89
board : ${{ matrix.board }}
91
90
skip-checkout : true
92
91
Original file line number Diff line number Diff line change
1
+ 3.12.5
You can’t perform that action at this time.
0 commit comments