File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ jobs:
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
- example : [stm32-blink]
19
+ example : [stm32-blink, stm32-lvgl ]
20
20
swift : [swift-DEVELOPMENT-SNAPSHOT-2025-03-04-a]
21
21
22
22
steps :
23
23
- name : Checkout repo
24
24
uses : actions/checkout@v4
25
25
26
+ - name : Fixup for running locally in act
27
+ if : ${{ env.ACT }}
28
+ run : echo /opt/acttoolcache/node/18.20.8/x64/bin >> $GITHUB_PATH
29
+
26
30
- name : Set up Python
27
31
uses : actions/setup-python@v5
28
32
with :
42
46
- name : Build ${{ matrix.example }}
43
47
working-directory : ${{ matrix.example }}
44
48
run : |
45
- export STM_BOARD=STM32F746G_DISCOVERY
46
- ./build-elf.sh
49
+ if [[ "${{ matrix.example }}" == "stm32-blink" ]]; then
50
+ export STM_BOARD=STM32F746G_DISCOVERY
51
+ ./build-elf.sh
52
+ elif [[ "${{ matrix.example }}" == "stm32-lvgl" ]]; then
53
+ ./fetch-dependencies.sh
54
+ make
55
+ else
56
+ exit 1
57
+ fi
Original file line number Diff line number Diff line change @@ -43,9 +43,10 @@ def main():
43
43
outf = open (args .output , "wb" )
44
44
45
45
relocations = {}
46
- for r in args .relocate :
47
- (a , b ) = r .split (":" )
48
- relocations [int (a , 16 )] = int (b , 16 )
46
+ if args .relocate is not None :
47
+ for r in args .relocate :
48
+ (a , b ) = r .split (":" )
49
+ relocations [int (a , 16 )] = int (b , 16 )
49
50
50
51
def emitrecord (record ):
51
52
checksum = 0
Original file line number Diff line number Diff line change 60
60
# ##
61
61
62
62
rm -rf ./lvgl || true
63
- git clone git@ github.com: lvgl/lvgl.git --branch release/v9.2
63
+ git clone https:// github.com/ lvgl/lvgl.git --branch release/v9.2
You can’t perform that action at this time.
0 commit comments