diff options
| author | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 22:42:25 +0300 |
|---|---|---|
| committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-22 15:53:22 +0300 |
| commit | f9e1d03f3c6c9fc59dd3b91716debc23aebf947f (patch) | |
| tree | b680ed2a3cf13ba37dfcc536a7c7bbb0e83c64e6 | |
| parent | 52c72694c2989c38fc9df915dcb34995d1e37404 (diff) | |
| download | luasocket-f9e1d03f3c6c9fc59dd3b91716debc23aebf947f.tar.gz luasocket-f9e1d03f3c6c9fc59dd3b91716debc23aebf947f.tar.bz2 luasocket-f9e1d03f3c6c9fc59dd3b91716debc23aebf947f.zip | |
ci: Don't bother doing user-local install in ephemeral runner
| -rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d22e67f..17cad49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -24,13 +24,12 @@ jobs: | |||
| 24 | luaVersion: ${{ matrix.luaVersion }} | 24 | luaVersion: ${{ matrix.luaVersion }} |
| 25 | - name: Setup ‘luarocks’ | 25 | - name: Setup ‘luarocks’ |
| 26 | uses: leafo/gh-actions-luarocks@v4 | 26 | uses: leafo/gh-actions-luarocks@v4 |
| 27 | - name: Make and install locally | 27 | - name: Make and install |
| 28 | run: | | 28 | run: | |
| 29 | export DEBUG=DEBUG | 29 | export DEBUG=DEBUG |
| 30 | luarocks --local make -- luasocket-scm-3.rockspec | 30 | luarocks make -- luasocket-scm-3.rockspec |
| 31 | - name: Run regression tests | 31 | - name: Run regression tests |
| 32 | run: | | 32 | run: | |
| 33 | eval $(luarocks --local path) | ||
| 34 | cd test | 33 | cd test |
| 35 | lua hello.lua | 34 | lua hello.lua |
| 36 | lua testsrvr.lua > /dev/null & | 35 | lua testsrvr.lua > /dev/null & |
