diff options
-rw-r--r-- | .github/workflows/build.yml | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8265bb1..64393cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -1,10 +1,10 @@ | |||
1 | name: Check build | 1 | name: Test build |
2 | 2 | ||
3 | on: [ push, pull_request ] | 3 | on: [ push, pull_request ] |
4 | 4 | ||
5 | jobs: | 5 | jobs: |
6 | build: | 6 | build: |
7 | name: Check build | 7 | name: Test build on Linux |
8 | strategy: | 8 | strategy: |
9 | fail-fast: false | 9 | fail-fast: false |
10 | matrix: | 10 | matrix: |
@@ -19,6 +19,23 @@ jobs: | |||
19 | luaVersion: ${{ matrix.luaVersion }} | 19 | luaVersion: ${{ matrix.luaVersion }} |
20 | - name: Setup ‘luarocks’ | 20 | - name: Setup ‘luarocks’ |
21 | uses: leafo/gh-actions-luarocks@v4 | 21 | uses: leafo/gh-actions-luarocks@v4 |
22 | - name: Make with Luarocks | 22 | - name: Make and install locally |
23 | run: | | 23 | run: | |
24 | luarocks make --pack-binary-rock -- luasocket-scm-3.rockspec | 24 | export DEBUG=DEBUG |
25 | luarocks --local make -- luasocket-scm-3.rockspec | ||
26 | - name: Run regression tests | ||
27 | run: | | ||
28 | eval $(luarocks --local path) | ||
29 | cd test | ||
30 | lua hello.lua | ||
31 | lua testsrvr.lua > /dev/null & | ||
32 | lua testclnt.lua | ||
33 | lua stufftest.lua | ||
34 | lua excepttest.lua | ||
35 | lua test_bind.lua | ||
36 | lua test_getaddrinfo.lua | ||
37 | lua ltn12test.lua | ||
38 | lua mimetest.lua | ||
39 | lua urltest.lua | ||
40 | lua test_socket_error.lua | ||
41 | kill %1 | ||