forked from lvgl/lvgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add API JSON generator (lvgl#5677)
Co-authored-by: Liam <[email protected]>
- Loading branch information
1 parent
25e993a
commit ec80fe4
Showing
12 changed files
with
3,627 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test API JSON generator | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test_api_json: | ||
if: github.repository == 'lvgl/lvgl' | ||
runs-on: ubuntu-22.04 | ||
name: Test API JSON | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Doxygen and Latex dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install doxygen texlive-xetex texlive-binaries texlive-lang-english latexmk fonts-freefont-otf | ||
- name: Install requirements | ||
run: pip install -r scripts/gen_json/requirements.txt | ||
|
||
- name: Run test | ||
run: python3 tests/gen_json/test_gen_json.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.