File tree Expand file tree Collapse file tree 9 files changed +10
-29
lines changed Expand file tree Collapse file tree 9 files changed +10
-29
lines changed Original file line number Diff line number Diff line change 42
42
- name : Checkout TinyUSB
43
43
uses : actions/checkout@v3
44
44
45
- - name : Checkout common submodules in lib
46
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
47
-
48
45
- name : Checkout hathach/linkermap
49
46
uses : actions/checkout@v3
50
47
with :
Original file line number Diff line number Diff line change 65
65
- name : Checkout TinyUSB
66
66
uses : actions/checkout@v3
67
67
68
- - name : Checkout common submodules in lib
69
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
70
-
71
68
- name : Checkout hathach/linkermap
72
69
uses : actions/checkout@v3
73
70
with :
@@ -145,9 +142,6 @@ jobs:
145
142
- name : Checkout TinyUSB
146
143
uses : actions/checkout@v3
147
144
148
- - name : Checkout common submodules in lib
149
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
150
-
151
145
- name : Build
152
146
run : python3 tools/build_board.py ${{ matrix.example }}
153
147
@@ -275,4 +269,4 @@ jobs:
275
269
- name : Test dfu_runtime
276
270
run : |
277
271
./flash.sh dfu_runtime.elf
278
- while (! (dfu-util -l | grep "Found Runtime")) && [ $SECONDS -le 10 ]; do :; done
272
+ while (! (dfu-util -l | grep "Found Runtime")) && [ $SECONDS -le 10 ]; do :; done
Original file line number Diff line number Diff line change 30
30
family :
31
31
# Alphabetical order
32
32
# Note: bundle multiple families into a matrix since there is only one self-hosted instance can
33
- # run IAR build. Too many matrix can hurt due to setup/teardown overhead.
33
+ # run IAR build. Too many matrix can hurt due to setup/teardown overhead.
34
34
- ' stm32f0 stm32f1 stm32f4 stm32f7 stm32g4 stm32h7 stm32l4'
35
35
steps :
36
36
- name : Clean workspace
42
42
- name : Checkout TinyUSB
43
43
uses : actions/checkout@v3
44
44
45
- - name : Checkout submodules and dependencies
46
- run : |
47
- git submodule update --init lib/FreeRTOS-Kernel lib/lwip
48
- python3 tools/get_family_deps.py ${{ matrix.family }}
45
+ - name : Get Dependencies
46
+ run : python3 tools/get_family_deps.py ${{ matrix.family }}
49
47
50
48
- name : Build
51
49
run : python3 tools/build_family.py ${{ matrix.family }} CC=iccarm
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ concurrency:
21
21
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
22
22
cancel-in-progress : true
23
23
24
- jobs :
24
+ jobs :
25
25
build-msp430 :
26
26
runs-on : ubuntu-latest
27
27
strategy :
40
40
- name : Checkout TinyUSB
41
41
uses : actions/checkout@v3
42
42
43
- - name : Checkout common submodules in lib
44
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
45
-
46
43
- name : Checkout hathach/linkermap
47
44
uses : actions/checkout@v3
48
45
with :
Original file line number Diff line number Diff line change 39
39
- name : Checkout TinyUSB
40
40
uses : actions/checkout@v3
41
41
42
- - name : Checkout common submodules in lib
43
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
44
-
45
42
- name : Checkout hathach/linkermap
46
43
uses : actions/checkout@v3
47
44
with :
Original file line number Diff line number Diff line change 41
41
- name : Checkout TinyUSB
42
42
uses : actions/checkout@v3
43
43
44
- - name : Checkout common submodules in lib
45
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
46
-
47
44
- name : Checkout hathach/linkermap
48
45
uses : actions/checkout@v3
49
46
with :
Original file line number Diff line number Diff line change 46
46
- name : Checkout TinyUSB
47
47
uses : actions/checkout@v3
48
48
49
- - name : Checkout common submodules in lib
50
- run : git submodule update --init lib/FreeRTOS-Kernel lib/lwip
51
-
52
49
- name : Get Dependencies
53
50
run : python3 tools/get_family_deps.py stm32f4
54
51
Original file line number Diff line number Diff line change 26
26
- name : Checkout TinyUSB
27
27
uses : actions/checkout@v3
28
28
29
+ - name : Run pre-commit
30
+ uses :
pre-commit/[email protected]
31
+
29
32
- name : Run codespell
30
33
uses : codespell-project/actions-codespell@master
31
34
Original file line number Diff line number Diff line change 4
4
5
5
repos :
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v4.0.1
7
+ rev : v4.4.0
8
8
hooks :
9
9
- id : check-yaml
10
10
- id : trailing-whitespace
11
11
- id : end-of-file-fixer
12
+ - id : forbid-submodules
12
13
13
14
- repo : local
14
15
hooks :
You can’t perform that action at this time.
0 commit comments