From b11b20b0ac5c0adfbd1397cf42c322c873a736a8 Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Tue, 23 Feb 2021 21:21:29 +0100 Subject: Remove LVGL folder (it's now a submodule) --- src/libs/lvgl/.github/FUNDING.yml | 1 + src/libs/lvgl/.github/ISSUE_TEMPLATE/bug-report.md | 43 ++++++++++++++++++++++ src/libs/lvgl/.github/ISSUE_TEMPLATE/config.yml | 14 +++++++ .../lvgl/.github/ISSUE_TEMPLATE/dev-discussion.md | 29 +++++++++++++++ src/libs/lvgl/.github/auto-comment.yml | 12 ++++++ src/libs/lvgl/.github/pull_request_template.md | 8 ++++ src/libs/lvgl/.github/stale.yml | 17 +++++++++ .../lvgl/.github/workflows/build_micropython.yml | 41 +++++++++++++++++++++ src/libs/lvgl/.github/workflows/ccpp.yml | 18 +++++++++ src/libs/lvgl/.github/workflows/main.yml | 16 ++++++++ src/libs/lvgl/.github/workflows/merge-to-dev.yml | 17 +++++++++ src/libs/lvgl/.github/workflows/release.yml | 27 ++++++++++++++ 12 files changed, 243 insertions(+) create mode 100644 src/libs/lvgl/.github/FUNDING.yml create mode 100644 src/libs/lvgl/.github/ISSUE_TEMPLATE/bug-report.md create mode 100644 src/libs/lvgl/.github/ISSUE_TEMPLATE/config.yml create mode 100644 src/libs/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.md create mode 100644 src/libs/lvgl/.github/auto-comment.yml create mode 100644 src/libs/lvgl/.github/pull_request_template.md create mode 100644 src/libs/lvgl/.github/stale.yml create mode 100644 src/libs/lvgl/.github/workflows/build_micropython.yml create mode 100644 src/libs/lvgl/.github/workflows/ccpp.yml create mode 100644 src/libs/lvgl/.github/workflows/main.yml create mode 100644 src/libs/lvgl/.github/workflows/merge-to-dev.yml create mode 100644 src/libs/lvgl/.github/workflows/release.yml (limited to 'src/libs/lvgl/.github') diff --git a/src/libs/lvgl/.github/FUNDING.yml b/src/libs/lvgl/.github/FUNDING.yml new file mode 100644 index 00000000..13530078 --- /dev/null +++ b/src/libs/lvgl/.github/FUNDING.yml @@ -0,0 +1 @@ +open_collective: lvgl diff --git a/src/libs/lvgl/.github/ISSUE_TEMPLATE/bug-report.md b/src/libs/lvgl/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 00000000..9d9f05d8 --- /dev/null +++ b/src/libs/lvgl/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,43 @@ +--- +name: Bug report +about: Create a bug report to help us improve +title: '' +labels: '' +assignees: '' + +--- + + + +### Perform all steps below and tick them with [x] +- [ ] Check the related part of the [Documentation](https://docs.lvgl.io/) +- [ ] Update lvgl to the latest version +- [ ] Reproduce the issue in a [Simulator](https://docs.lvgl.io/latest/en/html/get-started/pc-simulator.html) + +### Describe the bug + + +### To Reproduce + + +### Expected behavior + + +### Screenshots or video + diff --git a/src/libs/lvgl/.github/ISSUE_TEMPLATE/config.yml b/src/libs/lvgl/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..2228ff12 --- /dev/null +++ b/src/libs/lvgl/.github/ISSUE_TEMPLATE/config.yml @@ -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: CONTIBUTING.md + url: https://github.com/lvgl/lvgl/blob/master/docs/CONTRIBUTING.md#faq-about-contributing + about: The basic rules of contributing + - name: CODING_STYLE.md + url: https://github.com/lvgl/lvgl/blob/master/docs/CODING_STYLE.md + about: Quick summary of LVGL's code style diff --git a/src/libs/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.md b/src/libs/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.md new file mode 100644 index 00000000..7c9f6c08 --- /dev/null +++ b/src/libs/lvgl/.github/ISSUE_TEMPLATE/dev-discussion.md @@ -0,0 +1,29 @@ +--- +name: Development discussion +about: Discussion strictly related to the development of the LVGL. +title: '' +labels: '' +assignees: '' + +--- + + +### Introduce the problem + + +### Examples and cases + + +### Suggested solution + diff --git a/src/libs/lvgl/.github/auto-comment.yml b/src/libs/lvgl/.github/auto-comment.yml new file mode 100644 index 00000000..a141fb54 --- /dev/null +++ b/src/libs/lvgl/.github/auto-comment.yml @@ -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. diff --git a/src/libs/lvgl/.github/pull_request_template.md b/src/libs/lvgl/.github/pull_request_template.md new file mode 100644 index 00000000..e4e0cf8f --- /dev/null +++ b/src/libs/lvgl/.github/pull_request_template.md @@ -0,0 +1,8 @@ +### Description of the feature or fix + +A clear and concise description of what the bug or new feature is. + +### Checkpoints +- [ ] Follow the [styling guide](https://github.com/lvgl/lvgl/blob/master/docs/CODING_STYLE.md) +- [ ] Update CHANGELOG.md +- [ ] Update the documentation diff --git a/src/libs/lvgl/.github/stale.yml b/src/libs/lvgl/.github/stale.yml new file mode 100644 index 00000000..c3d60ea6 --- /dev/null +++ b/src/libs/lvgl/.github/stale.yml @@ -0,0 +1,17 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 21 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - architecture + - pinned +# Label to use when marking an issue as stale +staleLabel: stale +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue or pull request has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false diff --git a/src/libs/lvgl/.github/workflows/build_micropython.yml b/src/libs/lvgl/.github/workflows/build_micropython.yml new file mode 100644 index 00000000..bbc33f7b --- /dev/null +++ b/src/libs/lvgl/.github/workflows/build_micropython.yml @@ -0,0 +1,41 @@ +name: Build Micropython with LVGL submodule + +on: + push: + branches: [ master, dev ] + pull_request: + branches: [ master, dev ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Install SDL + 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 + - name: Clone lv_micropython + run: git clone https://github.com/lvgl/lv_micropython.git . + - name: Update submodules + run: git submodule update --init --recursive + - name: Checkout LVGL submodule + working-directory: ./lib/lv_bindings/lvgl + run: | + git fetch --force ${{ github.event.repository.git_url }} "+refs/heads/*:refs/remotes/origin/*" + git fetch --force ${{ github.event.repository.git_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 + - name: Build the unix port + run: make -j $(nproc) -C ports/unix + - name: Run advanced_demo + run: > + echo "import gc,utime; + utime.sleep(5); + gc.collect(); + utime.sleep(5)" | + ports/unix/micropython -i lib/lv_bindings/examples/advanced_demo.py diff --git a/src/libs/lvgl/.github/workflows/ccpp.yml b/src/libs/lvgl/.github/workflows/ccpp.yml new file mode 100644 index 00000000..f933952b --- /dev/null +++ b/src/libs/lvgl/.github/workflows/ccpp.yml @@ -0,0 +1,18 @@ +name: C/C++ CI + +on: + push: + branches: [ master, dev ] + pull_request: + branches: [master, dev ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: ammaraskar/gcc-problem-matcher@master + - name: Run tests + run: sudo apt-get install libpng-dev; cd tests; python ./build.py diff --git a/src/libs/lvgl/.github/workflows/main.yml b/src/libs/lvgl/.github/workflows/main.yml new file mode 100644 index 00000000..9c4fc306 --- /dev/null +++ b/src/libs/lvgl/.github/workflows/main.yml @@ -0,0 +1,16 @@ +on: + issues: + types: [opened, edited] + +jobs: + auto_close_issues: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - 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" diff --git a/src/libs/lvgl/.github/workflows/merge-to-dev.yml b/src/libs/lvgl/.github/workflows/merge-to-dev.yml new file mode 100644 index 00000000..997bb5d2 --- /dev/null +++ b/src/libs/lvgl/.github/workflows/merge-to-dev.yml @@ -0,0 +1,17 @@ +name: Merge master branch to dev +on: + push: + branches: + - 'master' +jobs: + merge-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Merge to dev branch + uses: devmasx/merge-branch@v1.1.0 + with: + type: now + target_branch: 'dev' + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/src/libs/lvgl/.github/workflows/release.yml b/src/libs/lvgl/.github/workflows/release.yml new file mode 100644 index 00000000..b0fab0f5 --- /dev/null +++ b/src/libs/lvgl/.github/workflows/release.yml @@ -0,0 +1,27 @@ +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +name: Create Release + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - 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/CHANGELOG.md) + draft: false + prerelease: false -- cgit v1.2.3