mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
refactor(util): add yutil library (#264)
* add yutil * add yutil to util.h * remove util file that same as yutil's * replace the old header file like '#include <LCUI/util/*>' with yutil's head file * Replace the old UTIL module associated data structures and function call code * change timer * Replace the old UTIL module associated data structures and function call code * fix * fix compilation problems(RGB to YUTIL_TEST_RGB) * turn some useless changes back to origin * change YUTIL_TEST_RGB back to RGB and add lcui-util/xmake.lua include * update github action * update github action * update github action * change new yutil func name * update xmake and change way to include yutil * update include to <yutil.h> * update list_for_each to for(list_each()) * fix * add graph.h to test_* * add #include <LCUI/graph.h> * update yutil * change timer func name and update submodule * update submodules * test strncpy * turn useless code back origin * fix lose RGB issue * fix yutil charset * update yutil * update yutil * add yutil_test instead of lcui-util test * change timer func name style Co-authored-by: 李梓豪 <yidianyiko@foxmail.com>
This commit is contained in:
committed by
Liu
co-authored by
李梓豪
parent
57c129b585
commit
b46306ddea
@@ -14,6 +14,10 @@ jobs:
|
||||
- name: install tools
|
||||
run: sudo apt install debhelper lcov valgrind -yy
|
||||
|
||||
- name: Update git submodule
|
||||
run: |
|
||||
git submodule update --init
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
xmake config -m coverage -y -v
|
||||
@@ -23,6 +27,11 @@ jobs:
|
||||
run: |
|
||||
xmake run run-tests --memcheck
|
||||
|
||||
- name: "Run tests yutil"
|
||||
run: |
|
||||
xmake build yutil_test
|
||||
xmake run yutil_test --memcheck
|
||||
|
||||
- name: Upload reports to Codecov
|
||||
run: bash <(curl -s https://codecov.io/bash);
|
||||
|
||||
@@ -53,6 +62,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: xmake-io/github-action-setup-xmake@v1
|
||||
|
||||
- name: Update git submodule
|
||||
run: |
|
||||
git submodule update --init
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
xmake config -y -v
|
||||
@@ -61,6 +75,11 @@ jobs:
|
||||
- name: "Run tests"
|
||||
run: |
|
||||
xmake run run-tests
|
||||
|
||||
- name: "Run tests yutil"
|
||||
run: |
|
||||
xmake build yutil_test
|
||||
xmake run yutil_test
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user