diff options
Diffstat (limited to '.github/workflows/unix_build.yml')
-rw-r--r-- | .github/workflows/unix_build.yml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/.github/workflows/unix_build.yml b/.github/workflows/unix_build.yml deleted file mode 100644 index 845a156..0000000 --- a/.github/workflows/unix_build.yml +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | name: "Unix build" | ||
2 | |||
3 | concurrency: | ||
4 | # for PR's cancel the running task, if another commit is pushed | ||
5 | group: ${{ github.workflow }} ${{ github.ref }} | ||
6 | cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
7 | |||
8 | on: | ||
9 | # build on PR and push-to-main. This works for short-lived branches, and saves | ||
10 | # CPU cycles on duplicated tests. | ||
11 | # For long-lived branches that diverge, you'll want to run on all pushes, not | ||
12 | # just on push-to-main. | ||
13 | pull_request: {} | ||
14 | push: | ||
15 | branches: | ||
16 | - master | ||
17 | |||
18 | |||
19 | jobs: | ||
20 | test: | ||
21 | runs-on: ${{ matrix.os }} | ||
22 | |||
23 | strategy: | ||
24 | fail-fast: false | ||
25 | matrix: | ||
26 | os: ['ubuntu-20.04', 'macos-11.0'] | ||
27 | luaVersion: | ||
28 | - "5.1" | ||
29 | - "5.2" | ||
30 | - "5.3" | ||
31 | - "5.4" | ||
32 | - "luajit-2.1.0-beta3" | ||
33 | - "luajit-openresty" | ||
34 | |||
35 | steps: | ||
36 | - name: Checkout | ||
37 | uses: actions/checkout@v3 | ||
38 | |||
39 | - uses: leafo/gh-actions-lua@v10 | ||
40 | with: | ||
41 | luaVersion: ${{ matrix.luaVersion }} | ||
42 | |||
43 | - uses: leafo/gh-actions-luarocks@v4 | ||
44 | |||
45 | - name: dependencies | ||
46 | run: | | ||
47 | luarocks install busted | ||
48 | luarocks make | ||
49 | |||
50 | - name: test | ||
51 | run: | | ||
52 | busted --Xoutput "--color" | ||
53 | |||
54 | # - name: Report test coverage | ||
55 | # if: success() | ||
56 | # continue-on-error: true | ||
57 | # run: luacov-coveralls | ||
58 | # env: | ||
59 | # COVERALLS_REPO_TOKEN: ${{ github.token }} | ||