aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..8265bb1
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,24 @@
1name: Check build
2
3on: [ push, pull_request ]
4
5jobs:
6 build:
7 name: Check build
8 strategy:
9 fail-fast: false
10 matrix:
11 luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"]
12 runs-on: ubuntu-20.04
13 steps:
14 - name: Checkout
15 uses: actions/checkout@v3
16 - name: Setup ‘lua’
17 uses: leafo/gh-actions-lua@v9
18 with:
19 luaVersion: ${{ matrix.luaVersion }}
20 - name: Setup ‘luarocks’
21 uses: leafo/gh-actions-luarocks@v4
22 - name: Make with Luarocks
23 run: |
24 luarocks make --pack-binary-rock -- luasocket-scm-3.rockspec