8000 Update unix_port.yml · wired8/lv_binding_micropython@3974a78 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3974a78

Browse files
authored
Update unix_port.yml
speed up MicroPython workflow, like lvgl/lvgl@38ad5d5 Export XDG_RUNTIME_DIR to prevent SDL warning
1 parent 128c762 commit 3974a78

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/unix_port.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
run: |
2222
git clone https://github.com/lvgl/lv_micropython.git .
2323
git checkout master
24-
< 9C66 /span> - name: Update submodules
25-
run: git submodule update --init --recursive
24+
- name: Initialize lv_bindings submodule
25+
run: git submodule update --init --recursive lib/lv_bindings
26+
- name: Update Unix port submodules
27+
run: make -C ports/unix VARIANT=dev DEBUG=1 submodules
2628
- name: Checkout lv_bindings
2729
working-directory: ./lib/lv_bindings
2830
run: |
@@ -34,6 +36,7 @@ jobs:
3436
run: make -j $(nproc) -C mpy-cross
3537
- name: Build the unix port
3638
run: make -j $(nproc) -C ports/unix VARIANT=dev DEBUG=1 LDFLAGS_MOD="-rdynamic -ldl -Wl,--copy-dt-needed-entries"
37-
- name: Run tests
38-
run: lib/lv_bindings/tests/run.sh
39-
39+
- name: Run tests
40+
run: |
41+
export XDG_RUNTIME_DIR=/tmp
42+
lib/lv_bindings/tests/run.sh

0 commit comments

Comments
 (0)
0