aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Maclennan <caleb@alerque.com>2022-03-19 20:55:11 +0300
committerCaleb Maclennan <caleb@alerque.com>2022-03-19 21:05:22 +0300
commit2cc6f8a55c45ec9b5ad165c150259060d4d70a82 (patch)
treec210e47ea1d86f46ca14594d68113c532bebfd66
parent844165ff89c0ec7bb50ac65ce010200dba1c8d89 (diff)
downloadluasocket-2cc6f8a55c45ec9b5ad165c150259060d4d70a82.tar.gz
luasocket-2cc6f8a55c45ec9b5ad165c150259060d4d70a82.tar.bz2
luasocket-2cc6f8a55c45ec9b5ad165c150259060d4d70a82.zip
ci: Add workflow to confirm build completes
-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