feat(ci): Add CI test for UEFI build (#5964)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Michael Simon
2024-04-20 20:49:56 +02:00
committed by GitHub
parent 2c469279f5
commit 7cb266c086
16 changed files with 284 additions and 15 deletions

View File

@@ -1,5 +1,3 @@
#include <stdlib.h>
#include "../../lv_examples.h"
#if LV_USE_LIST && LV_BUILD_EXAMPLES
@@ -102,8 +100,8 @@ static void event_handler_swap(lv_event_t * e)
uint32_t cnt = lv_obj_get_child_count(list1);
for(int i = 0; i < 100; i++)
if(cnt > 1) {
lv_obj_t * obj = lv_obj_get_child(list1, rand() % cnt);
lv_obj_move_to_index(obj, rand() % cnt);
lv_obj_t * obj = lv_obj_get_child(list1, lv_rand(0, cnt));
lv_obj_move_to_index(obj, lv_rand(0, cnt));
if(currentButton != NULL) {
lv_obj_scroll_to_view(currentButton, LV_ANIM_ON);
}