File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,27 @@ jobs:
107
107
fi
108
108
echo "widget_functions=$WIDGET_LIST" >> $GITHUB_OUTPUT
109
109
110
+ # Cache LVGL library
111
+ - name : Cache LVGL library
112
+ id : cache-lvgl-lib
113
+ uses : actions/cache@v3
114
+ with :
115
+ path : /tmp/runtime/lib/liblvgl.a
116
+ key : lvgl-lib-${{ steps.lvgl-commit.outputs.commit_hash }}
117
+
118
+ - name : Build LVGL library
119
+ if : steps.cache-lvgl-lib.outputs.cache-hit != 'true'
120
+ run : |
121
+ docker run --rm \
122
+ -v /tmp/runtime:/work \
123
+ -w /work/lib \
124
+ coevin/emscripten-sdl2:main \
125
+ sh -c 'mkdir -p /tmp/build && \
126
+ cd /tmp/build && \
127
+ emcmake cmake /work/lib && \
128
+ emmake make -j8 && \
129
+ cp liblvgl.a /work/lib/'
130
+
110
131
- name : Build runtime
111
132
run : |
112
133
# Create build directory
You can’t perform that action at this time.
0 commit comments