From 5d8285e2d37e19670c1daeff229e1dc331f053c4 Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Wed, 20 Oct 2021 20:06:34 -0400 Subject: [PATCH] ci create check for lv_conf_internal.h --- .github/workflows/check_conf.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/check_conf.yml diff --git a/.github/workflows/check_conf.yml b/.github/workflows/check_conf.yml new file mode 100644 index 000000000..34599d3f4 --- /dev/null +++ b/.github/workflows/check_conf.yml @@ -0,0 +1,23 @@ +name: Verify that lv_conf_internal.h matches repository state +on: + push: + pull_request: + +jobs: + verify-conf-internal: + 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)