diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 23:42:46 +0300 |
---|---|---|
committer | V1K1NGbg <victor@ilchev.com> | 2024-08-22 23:42:46 +0300 |
commit | 2ff22e5f6ba4b7d3beff63bf93f26498a140b14f (patch) | |
tree | 2e9ea39b87b99287020539b691580f2122be18d8 | |
parent | 70ee04a13a49347dd17761cb0d730db9e66c0dc0 (diff) | |
download | luarocks-2ff22e5f6ba4b7d3beff63bf93f26498a140b14f.tar.gz luarocks-2ff22e5f6ba4b7d3beff63bf93f26498a140b14f.tar.bz2 luarocks-2ff22e5f6ba4b7d3beff63bf93f26498a140b14f.zip |
compile tests
-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 '{}' \; | ||