diff options
-rw-r--r-- | .github/workflows/test.yml | 6 | ||||
-rwxr-xr-x | compile.sh | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ccf5932..88e3c946 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -51,6 +51,12 @@ jobs: | |||
51 | luarocks install cluacov | 51 | luarocks install cluacov |
52 | luarocks install busted-htest | 52 | luarocks install busted-htest |
53 | 53 | ||
54 | - name: Compile | ||
55 | run: | | ||
56 | luarocks install tl --dev --branch next | ||
57 | eval $(luarocks path) | ||
58 | ./compile.sh | ||
59 | |||
54 | - name: Unit Test | 60 | - name: Unit Test |
55 | run: | | 61 | run: | |
56 | eval $(luarocks path) | 62 | eval $(luarocks path) |
diff --git a/compile.sh b/compile.sh new file mode 100755 index 00000000..80dcfd68 --- /dev/null +++ b/compile.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | cd src/luarocks | ||
4 | |||
5 | find . -type f -name '*.tl' -not -name '*.d.tl' -execdir tl gen '{}' \; | ||