File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ jobs:
1414 strategy :
1515 fail-fast : false
1616 matrix :
17- example : [stm32-blink]
17+ example : [stm32-blink, stm32-lvgl ]
1818
1919 steps :
2020 - name : Checkout repo
2121 uses : actions/checkout@v4
2222
23+ - name : Fixup for running locally in act
24+ if : ${{ env.ACT }}
25+ run : echo /opt/acttoolcache/node/18.20.8/x64/bin >> $GITHUB_PATH
26+
2327 - name : Set up Python
2428 uses : actions/setup-python@v5
2529 with :
3438 - name : Build ${{ matrix.example }}
3539 working-directory : ${{ matrix.example }}
3640 run : |
37- export STM_BOARD=STM32F746G_DISCOVERY
38- ./build-elf.sh
41+ if [[ "${{ matrix.example }}" == "stm32-blink" ]]; then
42+ export STM_BOARD=STM32F746G_DISCOVERY
43+ ./build-elf.sh
44+ elif [[ "${{ matrix.example }}" == "stm32-lvgl" ]]; then
45+ ./fetch-dependencies.sh
46+ make
47+ else
48+ exit 1
49+ fi
Original file line number Diff line number Diff line change @@ -43,9 +43,10 @@ def main():
4343 outf = open (args .output , "wb" )
4444
4545 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 )
4950
5051 def emitrecord (record ):
5152 checksum = 0
Original file line number Diff line number Diff line change 6060# ##
6161
6262rm -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