add teal--lua consistency check (#357)

This commit is contained in:
Cyano Hao 2024-03-31 08:27:17 +08:00 committed by GitHub
parent 334ab8d87b
commit 65809f6edf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

View File

@ -30,3 +30,27 @@ jobs:
run: | run: |
export QT_ASSUME_STDERR_HAS_CONSOLE=1 export QT_ASSUME_STDERR_HAS_CONSOLE=1
xmake r test-escape xmake r test-escape
teal_lua_consistency:
name: TealLua consistency
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: ConorMacBride/install-package@v1
with:
apt: luarocks
- name: Install Teal
run: |
sudo luarocks install tl
- name: Build
run: |
./addon/gen.sh
- name: Check
run: |
git diff --exit-code