diff options
Diffstat (limited to 'lib/lvgl/.github/workflows/check_conf.yml')
| m--------- | lib/lvgl | 0 | ||||
| -rw-r--r-- | lib/lvgl/.github/workflows/check_conf.yml | 24 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/lvgl b/lib/lvgl deleted file mode 160000 -Subproject 0732400e7b564dd0e7dc4a924619d8e19c5b23a diff --git a/lib/lvgl/.github/workflows/check_conf.yml b/lib/lvgl/.github/workflows/check_conf.yml new file mode 100644 index 00000000..42223709 --- /dev/null +++ b/lib/lvgl/.github/workflows/check_conf.yml @@ -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-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + persist-credentials: false + fetch-depth: 0 + - name: Setup Python + uses: actions/setup-python@v1 + 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) |
