diff options
author | Caleb Maclennan <caleb@alerque.com> | 2022-03-19 21:23:58 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2022-03-22 15:53:22 +0300 |
commit | 52c72694c2989c38fc9df915dcb34995d1e37404 (patch) | |
tree | 90c20c41704d873041a0d2e16a69b6a0856606d3 | |
parent | 9787c17e589dc1b12c1f96e6bb391a7ff3dd5065 (diff) | |
download | luasocket-52c72694c2989c38fc9df915dcb34995d1e37404.tar.gz luasocket-52c72694c2989c38fc9df915dcb34995d1e37404.tar.bz2 luasocket-52c72694c2989c38fc9df915dcb34995d1e37404.zip |
ci: Disable unsupported Windows and avoid duplicate runs
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 518de63..d22e67f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -1,6 +1,10 @@ | |||
1 | name: Test build | 1 | name: Test build |
2 | 2 | ||
3 | on: [ push, pull_request ] | 3 | on: |
4 | push: | ||
5 | branches: | ||
6 | - master | ||
7 | pull_request: | ||
4 | 8 | ||
5 | jobs: | 9 | jobs: |
6 | build: | 10 | build: |
@@ -9,7 +13,7 @@ jobs: | |||
9 | fail-fast: false | 13 | fail-fast: false |
10 | matrix: | 14 | matrix: |
11 | luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"] | 15 | luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"] |
12 | platform: [ "ubuntu-20.04", "windows-2022", "macos-11" ] | 16 | platform: [ "ubuntu-20.04", "macos-11" ] # "windows-2022" not supported by gh-actions-lua |
13 | runs-on: ${{ matrix.platform }} | 17 | runs-on: ${{ matrix.platform }} |
14 | steps: | 18 | steps: |
15 | - name: Checkout | 19 | - name: Checkout |