Initial commit, getting all the stuff from PlatformIO
This commit is contained in:
8
.pio/libdeps/esp32dev/lvgl/.github/.codecov.yml
vendored
Normal file
8
.pio/libdeps/esp32dev/lvgl/.github/.codecov.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
codecov:
|
||||
notify:
|
||||
require_ci_to_pass: true
|
||||
comment: off
|
||||
coverage:
|
||||
status:
|
||||
patch: off
|
||||
project: off
|
||||
1
.pio/libdeps/esp32dev/lvgl/.github/FUNDING.yml
vendored
Normal file
1
.pio/libdeps/esp32dev/lvgl/.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
github: lvgl
|
||||
37
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
37
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
name: Bug Report
|
||||
description: File a bug report
|
||||
body:
|
||||
- type: markdown
|
||||
id: intro
|
||||
attributes:
|
||||
value: >
|
||||
Be sure to read the
|
||||
[FAQ](https://docs.lvgl.io/master/intro/index.html#faq), and the related
|
||||
part of the [Documentation](https://docs.lvgl.io/) first.
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: LVGL version
|
||||
description: See in `lvgl.h` or use `git describe`
|
||||
placeholder: e.g. v9.0.0
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: What happened?
|
||||
description: Also tell us, what did you expect to happen?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: code-snippet
|
||||
attributes:
|
||||
label: How to reproduce?
|
||||
description: If applicable add a code snippet to reproduce the issue
|
||||
placeholder: |
|
||||
```c
|
||||
your code here
|
||||
```
|
||||
validations:
|
||||
required: false
|
||||
14
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
14
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Documentation
|
||||
url: https://docs.lvgl.io
|
||||
about: Be sure to read to documentation first
|
||||
- name: Forum
|
||||
url: https://forum.lvgl.io
|
||||
about: For topics like How-to, Getting started, Feature request
|
||||
- name: CONTRIBUTING.rst
|
||||
url: https://github.com/lvgl/lvgl/blob/master/docs/CONTRIBUTING.rst
|
||||
about: The basic rules of contributing
|
||||
- name: CODING_STYLE.rst
|
||||
url: https://github.com/lvgl/lvgl/blob/master/docs/CODING_STYLE.rst
|
||||
about: Quick summary of LVGL's code style
|
||||
18
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.yml
vendored
Normal file
18
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: Development discussion
|
||||
description: Share your ideas related to development of LVGL
|
||||
body:
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: Introduce the problem
|
||||
placeholder: A clear and concise description of the problem. Also mention some examples and use cases if possible.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Proposal
|
||||
placeholder: If you already have an idea about the solution share it here
|
||||
validations:
|
||||
required: false
|
||||
54
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/feat-planning.yml
vendored
Normal file
54
.pio/libdeps/esp32dev/lvgl/.github/ISSUE_TEMPLATE/feat-planning.yml
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
name: Feature planning
|
||||
description: Discuss and design new features
|
||||
body:
|
||||
- type: textarea
|
||||
id: whatproblem
|
||||
attributes:
|
||||
label: Problem to solve
|
||||
placeholder: A clear and concise description of the problem. Also mention some examples and use cases if possible.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: success-criteria
|
||||
attributes:
|
||||
label: Success criteria
|
||||
placeholder: Ideally something measurable, for example make something 20% faster/smaller/shorter/etc.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Solution outline
|
||||
placeholder: A rough description of how to implement it.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: rabbit-holes
|
||||
attributes:
|
||||
label: Rabbit holes
|
||||
placeholder: Possible issues and difficulties that we already see.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: testing
|
||||
attributes:
|
||||
label: Testing
|
||||
placeholder: How will we test this feature?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: teaching
|
||||
attributes:
|
||||
label: Teaching
|
||||
placeholder: How will we teach this feature/how will the user know about it (docs, examples, etc)?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: considerations
|
||||
attributes:
|
||||
label: Considerations
|
||||
placeholder: Other approaches that we have considered but dropped (just for the record).
|
||||
validations:
|
||||
required: false
|
||||
|
||||
12
.pio/libdeps/esp32dev/lvgl/.github/auto-comment.yml
vendored
Normal file
12
.pio/libdeps/esp32dev/lvgl/.github/auto-comment.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Comment to a new issue.
|
||||
pullRequestOpened: |
|
||||
Thank you for raising your pull request.
|
||||
|
||||
To ensure that all licensing criteria is met all repositories of the LVGL project apply a process called DCO (Developer's Certificate of Origin).
|
||||
|
||||
The text of DCO can be read here: https://developercertificate.org/
|
||||
For a more detailed description see the [Documentation](https://docs.lvgl.io/latest/en/html/contributing/index.html#developer-certification-of-origin-dco) site.
|
||||
|
||||
By contributing to any repositories of the LVGL project you state that your contribution corresponds with the DCO.
|
||||
|
||||
No further action is required if your contribution fulfills the DCO. If you are not sure about it feel free to ask us in a comment.
|
||||
10
.pio/libdeps/esp32dev/lvgl/.github/dependabot.yml
vendored
Normal file
10
.pio/libdeps/esp32dev/lvgl/.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
|
||||
|
||||
version: 2
|
||||
|
||||
updates:
|
||||
-
|
||||
package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
11
.pio/libdeps/esp32dev/lvgl/.github/pull_request_template.md
vendored
Normal file
11
.pio/libdeps/esp32dev/lvgl/.github/pull_request_template.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
A clear and concise description of what the bug or new feature is.
|
||||
|
||||
### Notes
|
||||
- Update the [Documentation](https://github.com/lvgl/lvgl/tree/master/docs) if needed.
|
||||
- Add [Examples](https://github.com/lvgl/lvgl/tree/master/examples) if relevant.
|
||||
- Add [Tests](https://github.com/lvgl/lvgl/blob/master/tests/README.md) if applicable.
|
||||
- If you added new options to `lv_conf_template.h` run [lv_conf_internal_gen.py](https://github.com/lvgl/lvgl/blob/master/scripts/lv_conf_internal_gen.py) and update [Kconfig](https://github.com/lvgl/lvgl/blob/master/Kconfig).
|
||||
- Run `scripts/code-format.py` (`astyle v3.4.12` needs to installed by running `cd scripts; ./install_astyle.sh`) and follow the [Code Conventions](https://docs.lvgl.io/master/CODING_STYLE.html).
|
||||
- Mark the Pull request as [Draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request) while you are working on the first version, and mark is as _Ready_ when it's ready for review.
|
||||
- When changes were requested, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review) to notify the maintainers.
|
||||
- Help us to review this Pull Request! Anyone can [approve or request changes](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/approving-a-pull-request-with-required-reviews).
|
||||
15
.pio/libdeps/esp32dev/lvgl/.github/workflows/arduino.yml
vendored
Normal file
15
.pio/libdeps/esp32dev/lvgl/.github/workflows/arduino.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Arduino Lint
|
||||
on:
|
||||
push:
|
||||
branches: [ master, release/v8.* ]
|
||||
pull_request:
|
||||
branches: [ master, release/v8.* ]
|
||||
jobs:
|
||||
lint:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/arduino-lint-action@v1
|
||||
with:
|
||||
library-manager: update
|
||||
85
.pio/libdeps/esp32dev/lvgl/.github/workflows/build_micropython.yml
vendored
Normal file
85
.pio/libdeps/esp32dev/lvgl/.github/workflows/build_micropython.yml
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
name: MicroPython CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
name: Build ${{ matrix.port }} port
|
||||
runs-on: ubuntu-22.04
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
port: ['unix', 'esp32', 'stm32', 'rp2']
|
||||
steps:
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
|
||||
sudo apt-get update -y -qq
|
||||
sudo apt-get install libsdl2-dev parallel libfreetype-dev librlottie-dev libavformat-dev libavcodec-dev libswscale-dev libavutil-dev doxygen
|
||||
python3 -m pip install pycparser
|
||||
- name: Clone lv_micropython
|
||||
run: |
|
||||
git clone https://github.com/lvgl/lv_micropython.git .
|
||||
git checkout master
|
||||
- name: Initialize lv_bindings submodule
|
||||
run: git submodule update --init --recursive lib/lv_bindings
|
||||
- name: Update ${{ matrix.port }} port submodules
|
||||
if: matrix.port != 'esp32' && matrix.port != 'rp2'
|
||||
run: make -C ports/${{ matrix.port }} DEBUG=1 USER_C_MODULES=../../lib/lv_bindings/bindings.cmake submodules
|
||||
- name: Checkout LVGL submodule
|
||||
working-directory: ./lib/lv_bindings/lvgl
|
||||
run: |
|
||||
git fetch --force ${{ github.event.repository.html_url }} "+refs/heads/*:refs/remotes/origin/*"
|
||||
git fetch --force ${{ github.event.repository.html_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
|
||||
git checkout ${{ github.sha }} || git checkout ${{ github.event.pull_request.head.sha }}
|
||||
git submodule update --init --recursive
|
||||
- name: Build mpy-cross
|
||||
run: make -j $(nproc) -C mpy-cross
|
||||
|
||||
# ESP32 port
|
||||
- name: Setup ESP-IDF
|
||||
if: matrix.port == 'esp32'
|
||||
run: |
|
||||
source tools/ci.sh && ci_esp32_idf44_setup
|
||||
- name: Build ESP32 port
|
||||
if: matrix.port == 'esp32'
|
||||
run: |
|
||||
source tools/ci.sh && ci_esp32_build
|
||||
|
||||
# STM32 & RPi Pico port
|
||||
- name: arm-none-eabi-gcc
|
||||
if: matrix.port == 'stm32' || matrix.port == 'rp2'
|
||||
uses: carlosperate/arm-none-eabi-gcc-action@v1.9.0
|
||||
with:
|
||||
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
|
||||
- name: Build STM32 port
|
||||
if: matrix.port == 'stm32'
|
||||
run: make -j $(nproc) -C ports/stm32 BOARD=STM32F7DISC
|
||||
- name: Build Raspberry Pi PICO port
|
||||
if: matrix.port == 'rp2'
|
||||
run: |
|
||||
make -C ports/rp2 BOARD=PICO submodules
|
||||
make -j $(nproc) -C ports/rp2 BOARD=PICO USER_C_MODULES=../../lib/lv_bindings/bindings.cmake
|
||||
# Unix port
|
||||
- name: Build Unix port
|
||||
if: matrix.port == 'unix'
|
||||
run: make -j $(nproc) -C ports/unix DEBUG=1 LV_CFLAGS="-DMICROPY_LV_USE_LOG=0"
|
||||
- name: Install requirements for the test
|
||||
run: |
|
||||
python3 -m pip install pillow
|
||||
mkdir lib/lv_bindings/lvgl/tests/micropy_test/artifacts
|
||||
- name: Run tests
|
||||
if: success() && matrix.port == 'unix'
|
||||
run: |
|
||||
export XDG_RUNTIME_DIR=/tmp
|
||||
python3 lib/lv_bindings/lvgl/tests/micropy_test/__init__.py --artifact-path=lib/lv_bindings/lvgl/tests/micropy_test/artifacts --mpy-path=ports/unix/build-standard/micropython
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-artifacts
|
||||
path: lib/lv_bindings/lvgl/tests/micropy_test/artifacts
|
||||
99
.pio/libdeps/esp32dev/lvgl/.github/workflows/ccpp.yml
vendored
Normal file
99
.pio/libdeps/esp32dev/lvgl/.github/workflows/ccpp.yml
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, release/v8.* ]
|
||||
pull_request:
|
||||
branches: [ master, release/v8.* ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
# A valid option parameter to the cmake file.
|
||||
# See BUILD_OPTIONS in tests/CMakeLists.txt.
|
||||
build_option: ['OPTIONS_16BIT',
|
||||
'OPTIONS_24BIT',
|
||||
'OPTIONS_FULL_32BIT',
|
||||
'OPTIONS_VG_LITE',
|
||||
'OPTIONS_SDL']
|
||||
name: Build ${{ matrix.build_option }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts/install-prerequisites.sh
|
||||
- name: Building ${{ matrix.build_option }}
|
||||
run: python tests/main.py --build-option=${{ matrix.build_option }} build
|
||||
|
||||
build-windows-GCC:
|
||||
runs-on: windows-2022
|
||||
name: Build Windows GCC
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts\install-prerequisites.bat
|
||||
- name: Build
|
||||
run: python tests/main.py build
|
||||
env:
|
||||
CC: gcc
|
||||
|
||||
build-windows-MSVC:
|
||||
runs-on: windows-2022
|
||||
name: Build Windows MSVC
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install prerequisites
|
||||
run: scripts\install-prerequisites.bat
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
arch: x64
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 'mswin'
|
||||
- name: Build
|
||||
run: python tests/main.py build
|
||||
env:
|
||||
CC: cl
|
||||
|
||||
test-native:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
# A valid option parameter to the cmake file.
|
||||
# See BUILD_OPTIONS in tests/CMakeLists.txt.
|
||||
build_config: ['64bit build',
|
||||
'32bit build']
|
||||
name: Run tests with ${{ matrix.build_config }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts/install-prerequisites.sh
|
||||
- name: Fix kernel mmap rnd bits
|
||||
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
|
||||
# high-entropy ASLR in much newer kernels that GitHub runners are
|
||||
# using leading to random crashes: https://reviews.llvm.org/D148280
|
||||
run: sudo sysctl vm.mmap_rnd_bits=28
|
||||
- name: Set environment variables for 32-bit build
|
||||
if: matrix.build_config == '32bit build'
|
||||
run: echo "NON_AMD64_BUILD=1" >> $GITHUB_ENV
|
||||
- name: Run tests
|
||||
run: python tests/main.py --report --update-image test
|
||||
- name: Archive screenshot errors
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: screenshot-errors-amd64
|
||||
path: |
|
||||
tests/ref_imgs*/**/*_err.png
|
||||
test_screenshot_error.h
|
||||
# - name: Upload coverage to Codecov
|
||||
# uses: codecov/codecov-action@v4
|
||||
# if: github.event_name == 'push' && github.repository == 'lvgl/lvgl'
|
||||
# with:
|
||||
# fail_ci_if_error: true
|
||||
# verbose: true
|
||||
24
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_conf.yml
vendored
Normal file
24
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_conf.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Verify that lv_conf_internal.h matches repository state
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
verify-conf-internal:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Generate lv_conf_internal.h
|
||||
run: python lv_conf_internal_gen.py
|
||||
working-directory: scripts
|
||||
- name: Check that repository is clean
|
||||
run: git diff --exit-code >/dev/null 2>&1 || (echo "Please regenerate lv_conf_internal.h using scripts/lv_conf_internal_gen.py"; false)
|
||||
26
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_properties.yml
vendored
Normal file
26
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_properties.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Verify the widget property name
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
verify-property-name:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: Generate property names
|
||||
run: python properties.py
|
||||
working-directory: scripts
|
||||
- name: Check that repository is clean
|
||||
shell: bash
|
||||
run: |
|
||||
set -o pipefail
|
||||
if ! (git diff --exit-code --color=always | tee /tmp/lvgl_diff.patch); then
|
||||
echo "Please apply the preceding diff to your code or run scripts/properties.py"
|
||||
exit 1
|
||||
fi
|
||||
38
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_style.yml
vendored
Normal file
38
.pio/libdeps/esp32dev/lvgl/.github/workflows/check_style.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Verify code formatting
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
verify-formatting:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: Checkout astyle
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: lvgl/astyle
|
||||
path: astyle
|
||||
ref: v3.4.12
|
||||
- name: Install astyle
|
||||
run: |
|
||||
cd astyle/build/gcc/
|
||||
make
|
||||
sudo make install
|
||||
astyle --version
|
||||
- name: Format code
|
||||
run: python code-format.py
|
||||
working-directory: scripts
|
||||
- name: Check that repository is clean
|
||||
shell: bash
|
||||
run: |
|
||||
set -o pipefail
|
||||
if ! (git diff --exit-code --color=always | tee /tmp/lvgl_diff.patch); then
|
||||
echo "Please apply the preceding diff to your code or run scripts/code-format.py"
|
||||
exit 1
|
||||
fi
|
||||
34
.pio/libdeps/esp32dev/lvgl/.github/workflows/close_old_issues.yml
vendored
Normal file
34
.pio/libdeps/esp32dev/lvgl/.github/workflows/close_old_issues.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: 'Close stale issues and PRs'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
if: github.repository == 'lvgl/lvgl'
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.LVGL_BOT_TOKEN }}
|
||||
stale-issue-message: |
|
||||
We need some feedback on this issue.
|
||||
|
||||
Now we mark this as "stale" because there was no activity here for 14 days.
|
||||
|
||||
Remove the "stale" label or comment else this will be closed in 7 days.
|
||||
stale-pr-message: |
|
||||
We need some feedback on this pull request.
|
||||
|
||||
Now we mark this as "stale" because there was no activity here for 14 days.
|
||||
|
||||
Remove the "stale" label or comment else this will be closed in 7 days.
|
||||
close-issue-message: |
|
||||
As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.
|
||||
|
||||
So feel free to comment if you have remarks or ideas on this topic.
|
||||
days-before-stale: 14
|
||||
days-before-close: 7
|
||||
exempt-issue-labels: 'pinned, next major, next minor, shaping, ready for development'
|
||||
exempt-pr-labels: 'pinned, next major, next minor'
|
||||
89
.pio/libdeps/esp32dev/lvgl/.github/workflows/compile_docs.yml
vendored
Normal file
89
.pio/libdeps/esp32dev/lvgl/.github/workflows/compile_docs.yml
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
name: Build docs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 'release/*'
|
||||
env:
|
||||
EM_VERSION: 2.0.4
|
||||
EM_CACHE_FOLDER: 'emsdk-cache'
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
if: github.repository == 'lvgl/lvgl'
|
||||
runs-on: ubuntu-22.04
|
||||
concurrency: docs-build-and-deploy
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Cache Python packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# Cache the Python package environment, excluding pip and setuptools installed by setup-python
|
||||
path: |
|
||||
~/.cache/pip
|
||||
${{ env.pythonLocation }}/bin/*
|
||||
${{ env.pythonLocation }}/include
|
||||
${{ env.pythonLocation }}/lib/python*/site-packages/*
|
||||
!${{ env.pythonLocation }}/bin/pip*
|
||||
!${{ env.pythonLocation }}/lib/python*/site-packages/pip*
|
||||
!${{ env.pythonLocation }}/lib/python*/site-packages/setuptools*
|
||||
key: ${{ env.pythonLocation }}-${{ hashFiles('docs/requirements.txt') }}
|
||||
- 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 docs/requirements.txt
|
||||
- name: Setup Emscripten cache
|
||||
id: cache-system-libraries
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{env.EM_CACHE_FOLDER}}
|
||||
key: ${{env.EM_VERSION}}-${{ runner.os }}
|
||||
- uses: mymindstorm/setup-emsdk@v14
|
||||
with:
|
||||
version: ${{env.EM_VERSION}}
|
||||
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1
|
||||
- name: Build examples (with cache)
|
||||
run: scripts/build_html_examples.sh
|
||||
- name: Build docs
|
||||
run: docs/build.py skip_latex
|
||||
- name: Remove .doctrees
|
||||
run: rm -rf out_html/.doctrees
|
||||
- name: Retrieve version
|
||||
run: |
|
||||
echo "::set-output name=VERSION_NAME::$(scripts/find_version.sh)"
|
||||
id: version
|
||||
- name: Deploy to subfolder
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.3
|
||||
with:
|
||||
token: ${{ secrets.LVGL_BOT_TOKEN }}
|
||||
repository-name: lvgl/docs
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: out_html # The folder the action should deploy.
|
||||
target-folder: ${{ steps.version.outputs.VERSION_NAME }}
|
||||
git-config-name: lvgl-bot
|
||||
git-config-email: lvgl-bot@users.noreply.github.com
|
||||
single-commit: true
|
||||
- name: Deploy to master
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: JamesIves/github-pages-deploy-action@v4.6.3
|
||||
with:
|
||||
token: ${{ secrets.LVGL_BOT_TOKEN }}
|
||||
repository-name: lvgl/docs
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: out_html # The folder the action should deploy.
|
||||
target-folder: master
|
||||
git-config-name: lvgl-bot
|
||||
git-config-email: lvgl-bot@users.noreply.github.com
|
||||
commit: true
|
||||
23
.pio/libdeps/esp32dev/lvgl/.github/workflows/esp_upload_component.yml
vendored
Normal file
23
.pio/libdeps/esp32dev/lvgl/.github/workflows/esp_upload_component.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Push LVGL release to Espressif Component Service
|
||||
|
||||
# If the commit is tagged, it will be uploaded. Other scenario silently fail.
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
upload_components:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Upload component to component registry
|
||||
uses: espressif/upload-components-ci-action@v1
|
||||
with:
|
||||
name: "lvgl"
|
||||
version: ${{ github.ref_name }}
|
||||
namespace: "lvgl"
|
||||
api_token: ${{ secrets.ESP_IDF_COMPONENT_API_TOKEN }}
|
||||
28
.pio/libdeps/esp32dev/lvgl/.github/workflows/gen_json.yml
vendored
Normal file
28
.pio/libdeps/esp32dev/lvgl/.github/workflows/gen_json.yml
vendored
Normal file
@@ -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
|
||||
16
.pio/libdeps/esp32dev/lvgl/.github/workflows/main.yml
vendored
Normal file
16
.pio/libdeps/esp32dev/lvgl/.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
auto_close_issues:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Automatically close issues that don't follow the issue template
|
||||
uses: lucasbento/auto-close-issues@v1.0.2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
|
||||
closed-issues-label: "not-template"
|
||||
21
.pio/libdeps/esp32dev/lvgl/.github/workflows/makefile.yml
vendored
Normal file
21
.pio/libdeps/esp32dev/lvgl/.github/workflows/makefile.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Check Makefile
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, release/v8.* ]
|
||||
pull_request:
|
||||
branches: [ master, release/v8.* ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
name: Build using Makefile
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts/install-prerequisites.sh
|
||||
- name: Build
|
||||
working-directory: tests/makefile
|
||||
run: make test_file
|
||||
23
.pio/libdeps/esp32dev/lvgl/.github/workflows/makefile_uefi.yml
vendored
Normal file
23
.pio/libdeps/esp32dev/lvgl/.github/workflows/makefile_uefi.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Check Makefile for UEFI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
name: Build using Makefile for UEFI
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: Install prerequisites
|
||||
run: scripts/install-prerequisites.sh
|
||||
- name: Install clang
|
||||
run: sudo apt-get install clang lld
|
||||
- name: Build
|
||||
working-directory: tests/makefile_uefi
|
||||
run: make -j
|
||||
22
.pio/libdeps/esp32dev/lvgl/.github/workflows/platformio_publish.yaml
vendored
Normal file
22
.pio/libdeps/esp32dev/lvgl/.github/workflows/platformio_publish.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
name: PlatformIO Publish
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- name: Install PlatformIO Core
|
||||
run: pip install --upgrade platformio
|
||||
- name: Switch to the development version
|
||||
run: pio upgrade --dev
|
||||
- name: Publish
|
||||
run: pio pkg publish --no-interactive --owner lvgl .
|
||||
27
.pio/libdeps/esp32dev/lvgl/.github/workflows/release.yml
vendored
Normal file
27
.pio/libdeps/esp32dev/lvgl/.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
on:
|
||||
push:
|
||||
# Sequence of patterns matched against refs/tags
|
||||
tags:
|
||||
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
name: Create Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
See the [CHANGELOG](https://github.com/lvgl/lvgl/blob/master/docs/CHANGELOG.rst)
|
||||
draft: false
|
||||
prerelease: false
|
||||
22
.pio/libdeps/esp32dev/lvgl/.github/workflows/verify_kconfig.yml
vendored
Normal file
22
.pio/libdeps/esp32dev/lvgl/.github/workflows/verify_kconfig.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Verify Kconfig
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
verify-kconfig:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Run kconfig_verify.py
|
||||
run: python3 -m pip install kconfiglib && python kconfig_verify.py ../Kconfig
|
||||
working-directory: scripts
|
||||
Reference in New Issue
Block a user